Skip to content

Commit

Permalink
Reverting Hilt to Kapt
Browse files Browse the repository at this point in the history
  • Loading branch information
philips77 committed Jun 24, 2024
1 parent 9f3c539 commit 25cebbe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/src/main/kotlin/AndroidHiltConventionPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ class AndroidHiltConventionPlugin : Plugin<Project> {
with(target) {
with(pluginManager) {
apply("no.nordicsemi.android.plugin.kotlin")
apply("com.google.devtools.ksp")
apply("org.jetbrains.kotlin.kapt")
apply("dagger.hilt.android.plugin")
}

dependencies {
add("implementation", libs.findLibrary("hilt.android").get())
add("ksp", libs.findLibrary("hilt.compiler").get())
add("kspTest", libs.findLibrary("hilt.compiler").get())
add("kspAndroidTest", libs.findLibrary("hilt.compiler").get())
add("kapt", libs.findLibrary("hilt.compiler").get())
add("kaptTest", libs.findLibrary("hilt.compiler").get())
add("kaptAndroidTest", libs.findLibrary("hilt.compiler").get())
}
}
}
Expand Down

0 comments on commit 25cebbe

Please sign in to comment.