diff --git a/app/build.gradle b/app/build.gradle index 1dd7433..02e8fb9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -11,7 +11,7 @@ android { defaultConfig { applicationId "us.mitene.practicalexam" - minSdkVersion 25 + minSdkVersion 26 targetSdkVersion 34 versionCode 1 versionName "1.0" @@ -41,7 +41,7 @@ android { targetCompatibility JavaVersion.VERSION_17 } composeOptions { - kotlinCompilerExtensionVersion = "1.5.7" + kotlinCompilerExtensionVersion = "1.5.11" } kotlinOptions { jvmTarget = JavaVersion.VERSION_17.toString() @@ -63,36 +63,36 @@ dependencies { androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' // jetpack compose bom - implementation platform('androidx.compose:compose-bom:2023.10.01') - implementation "androidx.compose.ui:ui" - implementation "androidx.compose.material:material" - implementation "androidx.compose.material:material-icons-extended" - implementation "androidx.compose.ui:ui-tooling-preview" + implementation platform('androidx.compose:compose-bom:2024.03.00') + implementation 'androidx.compose.ui:ui' + implementation 'androidx.compose.material:material' + implementation 'androidx.compose.material:material-icons-extended' + implementation 'androidx.compose.ui:ui-tooling-preview' implementation 'androidx.compose.material3:material3' - debugImplementation "androidx.compose.ui:ui-tooling" - debugImplementation "androidx.compose.ui:ui-test-manifest" - implementation "androidx.compose.runtime:runtime-livedata" + debugImplementation 'androidx.compose.ui:ui-tooling' + debugImplementation 'androidx.compose.ui:ui-test-manifest' + implementation 'androidx.compose.runtime:runtime-livedata' // jetpack compose implementation 'androidx.activity:activity-compose:1.8.2' - implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2' - implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:2.6.2' + implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0' + implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:2.7.0' // for test - testImplementation 'org.robolectric:robolectric:4.10.3' + testImplementation 'org.robolectric:robolectric:4.11.1' testImplementation "androidx.test:core:1.5.0" testImplementation "androidx.test:core-ktx:1.5.0" testImplementation "androidx.test.ext:junit:1.1.5" testImplementation "androidx.test.ext:junit-ktx:1.1.5" testImplementation("androidx.arch.core:core-testing:2.2.0") - testImplementation "io.mockk:mockk:1.13.8" - testImplementation "org.mockito:mockito-core:5.5.0" + testImplementation 'io.mockk:mockk:1.13.10' + testImplementation 'org.mockito:mockito-core:5.11.0' // jet pack implementation "androidx.fragment:fragment-ktx:1.6.2" implementation "androidx.recyclerview:recyclerview:1.3.2" // androidx.lifecycle - def lifecycle_version = "2.6.2" + def lifecycle_version = "2.7.0" implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version" //noinspection LifecycleAnnotationProcessorWithJava8 @@ -109,20 +109,20 @@ dependencies { testImplementation("androidx.room:room-testing:$room_version") // okhttp - def okhttp_version = "4.10.0" + def okhttp_version = "4.12.0" implementation "com.squareup.okhttp3:okhttp:$okhttp_version" implementation "com.squareup.okhttp3:logging-interceptor:$okhttp_version" testImplementation "com.squareup.okhttp3:mockwebserver:$okhttp_version" // glide - def glide_version = "4.15.1" + def glide_version = '4.16.0' implementation "com.github.bumptech.glide:glide:$glide_version" implementation "com.github.bumptech.glide:glide:$glide_version" implementation "com.github.bumptech.glide:annotations:$glide_version" kapt "com.github.bumptech.glide:compiler:$glide_version" // coroutine - def coroutine_version = "1.7.3" + def coroutine_version = "1.8.0" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutine_version" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutine_version" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-rx2:$coroutine_version" @@ -134,7 +134,7 @@ dependencies { implementation "io.reactivex.rxjava2:rxkotlin:2.4.0" // retrofit - def retrofit2_version = "2.9.0" + def retrofit2_version = "2.10.0" implementation "com.squareup.retrofit2:retrofit:$retrofit2_version" implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit2_version" implementation "com.squareup.retrofit2:converter-gson:$retrofit2_version" @@ -145,21 +145,21 @@ dependencies { implementation "com.google.code.gson:gson:2.10.1" // moshi - implementation "com.squareup.moshi:moshi-kotlin:1.13.0" + implementation 'com.squareup.moshi:moshi-kotlin:1.15.1' // serialization - implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1" + implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3' // timber implementation "com.jakewharton.timber:timber:5.0.1" // DI : dagger - implementation 'com.google.dagger:dagger:2.48' - kapt 'com.google.dagger:dagger-compiler:2.48' + implementation 'com.google.dagger:dagger:2.51' + kapt 'com.google.dagger:dagger-compiler:2.51' // DI : hilt - implementation 'com.google.dagger:hilt-android:2.48' - kapt 'com.google.dagger:hilt-compiler:2.48' - testImplementation 'com.google.dagger:hilt-android-testing:2.48' - kaptTest 'com.google.dagger:hilt-compiler:2.48' + implementation 'com.google.dagger:hilt-android:2.51' + kapt 'com.google.dagger:hilt-compiler:2.51' + testImplementation 'com.google.dagger:hilt-android-testing:2.51' + kaptTest 'com.google.dagger:hilt-compiler:2.51' } \ No newline at end of file diff --git a/build.gradle b/build.gradle index 71f443f..8588c71 100644 --- a/build.gradle +++ b/build.gradle @@ -1,15 +1,15 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.9.21' + ext.kotlin_version = '1.9.23' repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:8.1.4' + classpath 'com.android.tools.build:gradle:8.3.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version" - classpath 'com.google.dagger:hilt-android-gradle-plugin:2.48' + classpath 'com.google.dagger:hilt-android-gradle-plugin:2.51' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/gradle.properties b/gradle.properties index dced600..c8ce6fb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,6 +17,5 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 android.useAndroidX=true # Kotlin code style for this project: "official" or "obsolete": kotlin.code.style=official -android.defaults.buildfeatures.buildconfig=true android.nonTransitiveRClass=false android.nonFinalResIds=false \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 95353ba..86352b7 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Thu Jul 08 11:59:58 JST 2021 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME