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,10 +77,8 @@ tasks {
|
|||||||
sourceCompatibility = "1.8"
|
sourceCompatibility = "1.8"
|
||||||
targetCompatibility = "1.8"
|
targetCompatibility = "1.8"
|
||||||
}
|
}
|
||||||
listOf("compileKotlin", "compileTestKotlin").forEach {
|
withType<KotlinCompile> {
|
||||||
getByName<KotlinCompile>(it) {
|
kotlinOptions.jvmTarget = "1.8"
|
||||||
kotlinOptions.jvmTarget = "1.8"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
withType<Detekt> {
|
withType<Detekt> {
|
||||||
|
Loading…
Reference in New Issue
Block a user