Migrate Hilt plugin to KSP (#274)
This commit is contained in:
@@ -4,7 +4,6 @@ plugins {
|
||||
id("gq.kirmanak.mealient.library")
|
||||
alias(libs.plugins.ksp)
|
||||
id("gq.kirmanak.mealient.compose")
|
||||
id("kotlin-kapt")
|
||||
id("dagger.hilt.android.plugin")
|
||||
}
|
||||
|
||||
@@ -30,9 +29,9 @@ dependencies {
|
||||
implementation(libs.androidx.hilt.navigationCompose)
|
||||
implementation(libs.jetbrains.kotlinx.coroutinesAndroid)
|
||||
|
||||
kapt(libs.google.dagger.hiltCompiler)
|
||||
ksp(libs.google.dagger.hiltCompiler)
|
||||
|
||||
kaptTest(libs.google.dagger.hiltAndroidCompiler)
|
||||
kspTest(libs.google.dagger.hiltAndroidCompiler)
|
||||
|
||||
testImplementation(project(":testing"))
|
||||
testImplementation(libs.google.dagger.hiltAndroidTesting)
|
||||
@@ -41,7 +40,3 @@ dependencies {
|
||||
testImplementation(libs.google.truth)
|
||||
testImplementation(libs.io.mockk)
|
||||
}
|
||||
|
||||
kapt {
|
||||
correctErrorTypes = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user