Skip to content

Commit 18a62b9

Browse files
binayshaw7777dturner
authored andcommitted
Migrated Hilt dependencies from Kapt to KSP
1 parent 03d9af0 commit 18a62b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: app/build.gradle.kts

+3-3
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ dependencies {
128128
// Hilt
129129
implementation(libs.hilt.android.core)
130130
implementation(libs.androidx.hilt.navigation.compose)
131-
kapt(libs.hilt.compiler)
131+
ksp(libs.hilt.compiler)
132132

133133
// Jetpack Compose
134134
val composeBom = platform(libs.androidx.compose.bom)
@@ -166,7 +166,7 @@ dependencies {
166166

167167
// JVM tests - Hilt
168168
testImplementation(libs.hilt.android.testing)
169-
kaptTest(libs.hilt.compiler)
169+
kspTest(libs.hilt.compiler)
170170

171171
// Dependencies for Android unit tests
172172
androidTestImplementation(composeBom)
@@ -196,5 +196,5 @@ dependencies {
196196

197197
// AndroidX Test - Hilt testing
198198
androidTestImplementation(libs.hilt.android.testing)
199-
kaptAndroidTest(libs.hilt.compiler)
199+
kspAndroidTest(libs.hilt.compiler)
200200
}

0 commit comments

Comments
 (0)