bnorm
06/28/2024, 2:13 PMincludedSourceSets
, this task will print out all available options in a multiplatform project:
tasks.create("printSourceSets") {
doLast {
kotlin.targets.forEach { target ->
target.compilations.forEach { compilation ->
println(compilation.defaultSourceSet.name)
}
}
}
}