Czar
11/27/2018, 10:39 AMsubprojects
and allprojects
from root, and gradle does not generate static accessors for subprojects
This is what I'm actually doing with the tasks:
val compileKotlin: KotlinCompile by getting
val compileGroovy: GroovyCompile by getting
compileGroovy.dependsAndClasspath(compileKotlin)
val compileTestKotlin: KotlinCompile by getting
val compileTestGroovy: GroovyCompile by getting
compileTestGroovy.dependsAndClasspath(compileTestKotlin)
fun GroovyCompile.dependsAndClasspath(compileKotlin: KotlinCompile) {
dependsOn(compileKotlin)
classpath += files(compileKotlin.destinationDir)
}