Migrate Hilt plugin to KSP (#274)

This commit is contained in:
Kirill Kamakin
2024-06-30 17:01:44 +02:00
committed by GitHub
parent b6c9ace18f
commit bfdf89ae1c
11 changed files with 27 additions and 39 deletions

View File

@@ -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
}