breandan
08/22/2017, 10:05 PMcompileKotlin
task from the Gradle Kotlin DSL? The best I could come up with is:
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
}
}
This seems much more verbose than the default Groovy version, which is
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
I could not find a compileKotlin
extension under the base KotlinBuildScript
. Am I missing something obvious?