This commit is contained in:
FyloZ 2021-02-11 13:32:22 -05:00
parent d996da5213
commit aae066bed1
1 changed files with 4 additions and 4 deletions

View File

@ -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 {