Make generated code visible

This commit is contained in:
Benoit Marty 2022-12-23 13:37:22 +01:00 committed by Benoit Marty
parent 7bbadf3765
commit 0c511b1092
4 changed files with 20 additions and 3 deletions

View file

@ -30,6 +30,14 @@ plugins {
android {
androidConfig(project)
composeConfig()
// Waiting for https://github.com/google/ksp/issues/37
libraryVariants.all {
kotlin.sourceSets {
getByName(name) {
kotlin.srcDir("build/generated/ksp/$name/kotlin")
}
}
}
}
dependencies {

View file

@ -27,6 +27,14 @@ plugins {
android {
androidConfig(project)
// Waiting for https://github.com/google/ksp/issues/37
libraryVariants.all {
kotlin.sourceSets {
getByName(name) {
kotlin.srcDir("build/generated/ksp/$name/kotlin")
}
}
}
}
dependencies {