For anyone struggling with matching source set nam...
# power-assert
b
For anyone struggling with matching source set names with
includedSourceSets
, this task will print out all available options in a multiplatform project:
Copy code
tasks.create("printSourceSets") {
    doLast {
        kotlin.targets.forEach { target ->
            target.compilations.forEach { compilation ->
                println(compilation.defaultSourceSet.name)
            }
        }
    }
}
❤️ 2