Configure Kotlin compilation JVM target by convention

Closes gh-29952
This commit is contained in:
Andy Wilkinson
2022-02-22 18:11:51 +00:00
parent 49337f30da
commit 1e8d29f7aa
3 changed files with 3 additions and 25 deletions

View File

@@ -161,18 +161,6 @@ sourceSets {
}
}
compileKotlin {
kotlinOptions {
jvmTarget = 1.8
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = 1.8
}
}
toolchain {
testJvmArgs.add("--add-opens=java.base/java.net=ALL-UNNAMED")
}