kenkousen
11/26/2018, 9:28 PMbuild.gradle.kts
file, I want to specify that Kotlin compile to 1.8. I’m using the following syntax, which works, but I was wondering whether this is idiomatic or if there’s a simpler way:
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
}
}