Skip to content

Commit

Permalink
Change Hilt KAPT to KSP plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Jokwanhee committed Dec 13, 2024
1 parent 4e312d9 commit e3f008a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ internal class AndroidApplicationComposeConventionPlugin : Plugin<Project> {
with(pluginManager) {
apply("com.android.application")
apply("org.jetbrains.kotlin.android")
apply("kotlin-kapt")
apply("kotlin-parcelize")
apply("com.google.devtools.ksp")
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import `in`.koreatech.convention.implementation
import `in`.koreatech.convention.kapt
import `in`.koreatech.convention.ksp
import `in`.koreatech.convention.libs
import org.gradle.api.Plugin
import org.gradle.api.Project
Expand All @@ -13,7 +14,7 @@ internal class AndroidApplicationHiltConventionPlugin : Plugin<Project> {
}
dependencies {
implementation(libs.findBundle("hilt").get())
kapt(libs.findLibrary("hilt-compiler").get())
ksp(libs.findLibrary("hilt-compiler").get())
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ internal class AndroidLibraryConventionPlugin : Plugin<Project> {
with(target) {
with(pluginManager) {
apply("com.android.library")
apply("org.jetbrains.kotlin.kapt")
apply("org.jetbrains.kotlin.android")
apply("com.google.devtools.ksp")
}
Expand Down
4 changes: 1 addition & 3 deletions core/onboarding/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ plugins {
android {
namespace = "in.koreatech.koin.core.onboarding"
}
kapt {
correctErrorTypes = true
}

dependencies {
implementation(project(":domain"))

Expand Down

0 comments on commit e3f008a

Please sign in to comment.