Open otormaigh opened 8 months ago
Workaround is to add this to the bottom of the app/build.gradle.kts
files:
androidComponents {
onVariants(selector().all()) { variant ->
afterEvaluate {
val variantName = variant.name.capitalize()
tasks.getByName<KotlinCompile>("ksp${variantName}Kotlin") {
setSource(tasks.getByName("generate${variantName}LazyOtpDatabaseInterface").outputs)
}
}
}
}
See: https://github.com/google/dagger/issues/4158