e0b6d4d917
Currently this leads to an unknown argument warning, but it'll be removed automatically on the next bootstrap.
28 lines
514 B
Kotlin
28 lines
514 B
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
jvmTarget = "1.6"
|
|
javaHome = rootProject.extra["JDK_16"] as String
|
|
|
|
dependencies {
|
|
compileOnly(kotlinStdlib())
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" {}
|
|
}
|
|
|
|
tasks.withType<JavaCompile> {
|
|
sourceCompatibility = "1.6"
|
|
targetCompatibility = "1.6"
|
|
}
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
|
|
kotlinOptions {
|
|
freeCompilerArgs += "-Xsuppress-deprecated-jvm-target-warning"
|
|
}
|
|
}
|