e0b6d4d917
Currently this leads to an unknown argument warning, but it'll be removed automatically on the next bootstrap.
32 lines
694 B
Kotlin
32 lines
694 B
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
jvmTarget = "1.6"
|
|
javaHome = rootProject.extra["JDK_16"] as String
|
|
|
|
dependencies {
|
|
compile(project(":core:metadata"))
|
|
api(project(":core:deserialization.common"))
|
|
compile(project(":core:util.runtime"))
|
|
compile(project(":core:descriptors"))
|
|
compile(commonDep("javax.inject"))
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|