https://kotlinlang.org logo
#gradle
Title
# gradle
j

Jithin Murali

04/02/2024, 6:37 AM
Hi Team,
sourceSets {
release {
kotlin.srcDirs += "$buildDir/generated/ksp/release/kotlin"
}
debug {
kotlin.srcDirs += "$buildDir/generated/ksp/debug/kotlin"
}
}
Instead of manually setting srcDirs for different variants. Is there any way to write in a common way. Because in our project we have lot of variants.