mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
build.gradle.kts: simpler syntax for configuring KotlinCompile (#63)
This commit is contained in:
parent
5b56cbb97e
commit
6d2468914a
@ -77,11 +77,9 @@ tasks {
|
||||
sourceCompatibility = "1.8"
|
||||
targetCompatibility = "1.8"
|
||||
}
|
||||
listOf("compileKotlin", "compileTestKotlin").forEach {
|
||||
getByName<KotlinCompile>(it) {
|
||||
withType<KotlinCompile> {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
}
|
||||
}
|
||||
|
||||
withType<Detekt> {
|
||||
jvmTarget = "1.8"
|
||||
|
Loading…
Reference in New Issue
Block a user