Skip to content

Commit

Permalink
Remove the workaround for AIDL generated class is not visible to KSP
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler authored Oct 3, 2024
1 parent 380f49a commit e8c925b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions systemUnFold/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,6 @@ android {
addFrameworkJar('framework-14.jar')
compileOnlyCommonJars()

// Workaround for https://github.com/google/dagger/issues/4158
androidComponents {
onVariants(selector().all(), { variant ->
afterEvaluate {
def capName = variant.name.capitalize()
tasks.getByName("ksp${capName}Kotlin") {
setSource(tasks.getByName("compile${capName}Aidl").outputs)
}
}
})
}

dependencies {
implementation "com.google.dagger:hilt-android:$daggerVersion"
ksp "com.google.dagger:hilt-compiler:$daggerVersion"
Expand Down

0 comments on commit e8c925b

Please sign in to comment.