build.gradle.kts: simpler syntax for configuring KotlinCompile (#63)

pull/65/head
Jean-Michel Fayard 4 years ago committed by GitHub
parent 5b56cbb97e
commit 6d2468914a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -77,10 +77,8 @@ tasks {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
listOf("compileKotlin", "compileTestKotlin").forEach {
getByName<KotlinCompile>(it) {
kotlinOptions.jvmTarget = "1.8"
}
withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
withType<Detekt> {

Loading…
Cancel
Save