Open
Description
Currently the default compilation tasks for the main
and test
sourceSets are enhanced for Java, Kotlin, and Groovy following a strict name matching convention i.e these tasks are matched
- compileJava
- compileKotlin
- compileGroovy
- compileTestJava
- compileTestKotlin
- compileTestGroovy
It’d be great if additional compile tasks were enhanced too. This will likely require matching tasks by type (CompileJava
for example). Another option is to inspect the properties of each SourceSet
as they point to the compile tasks that affect said sourceSet.
This feature is needed by the GroovyFX project as it declares an extra sourceSet named demo
https://github.com/groovyfx-project/groovyfx/blob/master/gradle/demo.gradle