- is there a "good" way to avoid having two source dirs?
This works:
Copy code
tasks {
val compileKotlin: KotlinCompile by tasks
val compileJava: JavaCompile by tasks
compileJava.source = compileKotlin.source
compileKotlin.destinationDirectory.set(compileJava.destinationDirectory.get())
}
but my recollection is that Gradle people consider it a grievous sin to have tasks sharing inputs and outputs.
j
janvladimirmostert
03/26/2022, 9:24 AM
it'd be nice to have a module-info.kt, currently if you click convert to kotlin on the module-info.java, you just get an empty .kt file