kenkyee
01/22/2024, 4:52 PMOleg Yukhnevich
01/23/2024, 1:30 PMsuppress
sourceSets which are not needed and leave only sourceSet which corresponds to debug
flavour.
Example:
tasks.withType<AbstractDokkaTask>().configureEach {
dokkaSourceSets {
// releaseInt - flavour to suppress
named("releaseInt") {
suppress.set(true)
}
}
}
You can also check which sourceSets are enabled to make sure that you've excluded all by adding this code (only during setup, don't forget to remove it later 🙂 ):
tasks.withType<AbstractDokkaTask>().configureEach {
dokkaSourceSets.all {
println("$name: ${suppress.get()}")
}
}
jush
01/24/2024, 8:42 AMkenkyee
01/29/2024, 5:12 PM