Java 11
This commit is contained in:
parent
d996da5213
commit
aae066bed1
|
@ -51,8 +51,8 @@ dependencies {
|
|||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_14
|
||||
targetCompatibility = JavaVersion.VERSION_14
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
@ -73,11 +73,11 @@ tasks.test {
|
|||
}
|
||||
|
||||
tasks.withType<JavaCompile> {
|
||||
options.compilerArgs.addAll(arrayOf("--release", "14"))
|
||||
options.compilerArgs.addAll(arrayOf("--release", "11"))
|
||||
}
|
||||
|
||||
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
||||
kotlinOptions.jvmTarget = "14"
|
||||
kotlinOptions.jvmTarget = "11"
|
||||
}
|
||||
|
||||
tasks.dokkaHtml {
|
||||
|
|
Loading…
Reference in New Issue