From 18a62b9e9db24f3fa43b09fd038fdd39beec0d82 Mon Sep 17 00:00:00 2001 From: Binay Shaw Date: Fri, 20 Oct 2023 10:00:34 +0530 Subject: [PATCH] Migrated Hilt dependencies from Kapt to KSP --- app/build.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 457602507..30a9085f0 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -128,7 +128,7 @@ dependencies { // Hilt implementation(libs.hilt.android.core) implementation(libs.androidx.hilt.navigation.compose) - kapt(libs.hilt.compiler) + ksp(libs.hilt.compiler) // Jetpack Compose val composeBom = platform(libs.androidx.compose.bom) @@ -166,7 +166,7 @@ dependencies { // JVM tests - Hilt testImplementation(libs.hilt.android.testing) - kaptTest(libs.hilt.compiler) + kspTest(libs.hilt.compiler) // Dependencies for Android unit tests androidTestImplementation(composeBom) @@ -196,5 +196,5 @@ dependencies { // AndroidX Test - Hilt testing androidTestImplementation(libs.hilt.android.testing) - kaptAndroidTest(libs.hilt.compiler) + kspAndroidTest(libs.hilt.compiler) }