Skip to content

Commit

Permalink
Revert "Migrate to Hilt KSP compiler (#4136)" (#4246)
Browse files Browse the repository at this point in the history
This reverts commit 6494247.

Seems like dagger/ksp is still a bit buggy, I'm getting one of these
errors every other build, so lets revert this for now.

google/dagger#4181
google/ksp#1196
  • Loading branch information
connyduck authored Feb 10, 2024
1 parent 7f77516 commit 17e99bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.google.ksp)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.kapt)
alias(libs.plugins.kotlin.parcelize)
}

Expand Down Expand Up @@ -146,7 +147,7 @@ dependencies {
implementation libs.bundles.autodispose

implementation libs.bundles.dagger
ksp libs.bundles.dagger.processors
kapt libs.bundles.dagger.processors

implementation libs.sparkbutton

Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.google.ksp) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.kapt) apply false
alias(libs.plugins.kotlin.parcelize) apply false
alias(libs.plugins.ktlint) apply false
}
Expand Down
3 changes: 2 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ autodispose = "2.2.1"
bouncycastle = "1.70"
conscrypt = "2.5.2"
coroutines = "1.7.3"
dagger = "2.49"
dagger = "2.48.1"
diffx = "1.1.1"
emoji2 = "1.3.0"
espresso = "3.5.1"
Expand Down Expand Up @@ -59,6 +59,7 @@ xmlwriter = "1.0.4"
android-application = { id = "com.android.application", version.ref = "agp" }
google-ksp = "com.google.devtools.ksp:1.9.22-1.0.16"
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlin-kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }
kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" }
ktlint = "org.jlleitschuh.gradle.ktlint:12.0.3"

Expand Down

0 comments on commit 17e99bb

Please sign in to comment.