diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 5445d87e4..ec316da1e 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -18,7 +18,7 @@ plugins { id("com.android.application") id("kotlin-android") id("kotlin-parcelize") - id("kotlin-kapt") + id("com.google.devtools.ksp") id("dagger.hilt.android.plugin") } @@ -110,8 +110,8 @@ androidComponents { } dependencies { - kapt(libs.androidx.room.compiler) - kapt(libs.hilt.android.compiler) + ksp(libs.androidx.room.compiler) + ksp(libs.hilt.android.compiler) implementation(libs.androidx.constraintlayout) implementation(libs.androidx.core.ktx) implementation(libs.androidx.lifecycle.livedata.ktx) @@ -152,7 +152,7 @@ dependencies { // Testing dependencies debugImplementation(libs.androidx.monitor) - kaptAndroidTest(libs.hilt.android.compiler) + kspAndroidTest(libs.hilt.android.compiler) androidTestImplementation(platform(libs.androidx.compose.bom)) androidTestImplementation(libs.androidx.arch.core.testing) androidTestImplementation(libs.androidx.espresso.contrib) diff --git a/build.gradle.kts b/build.gradle.kts index e3895535f..daa032343 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -29,6 +29,7 @@ buildscript { plugins { id("com.diffplug.spotless") version "6.4.1" + id("com.google.devtools.ksp") version "1.9.10-1.0.13" apply false } spotless { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index d78f30516..ca719570f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -22,7 +22,7 @@ benchmark = "1.1.0" compileSdk = "33" composeLatest = "1.4.0-alpha03" composeBom = "2023.06.01" -compose-compiler = "1.4.6" +compose-compiler = "1.5.3" constraintLayoutCompose = "1.0.1" constraintLayout = "2.1.4" coreTesting = "2.2.0" @@ -32,10 +32,10 @@ glide = "1.0.0-alpha.3" gradle = "7.2.0" gson = "2.9.0" guava = "31.1-android" -hilt = "2.44.2" +hilt = "2.48" hiltNavigationCompose = "1.0.0" junit = "4.13.2" -kotlin = "1.8.20" +kotlin = "1.9.10" ktlint = "0.40.0" ktx = "1.7.0" lifecycle = "2.6.0-alpha04"