Back to Java version 16
Gradle and Kotlin don't yet support Java 17, apparently. :(
This commit reverts 7f725b345c
This commit is contained in:
parent
92a226dd02
commit
ad869f7346
2 changed files with 4 additions and 4 deletions
|
@ -39,8 +39,8 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
java {
|
||||||
sourceCompatibility = JavaVersion.VERSION_17
|
sourceCompatibility = JavaVersion.VERSION_16
|
||||||
targetCompatibility = JavaVersion.VERSION_17
|
targetCompatibility = JavaVersion.VERSION_16
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.test {
|
tasks.test {
|
||||||
|
@ -48,7 +48,7 @@ tasks.test {
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType<KotlinCompile>() {
|
tasks.withType<KotlinCompile>() {
|
||||||
kotlinOptions.jvmTarget = "17"
|
kotlinOptions.jvmTarget = "16"
|
||||||
}
|
}
|
||||||
|
|
||||||
application {
|
application {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
kotlinc app/src/main/kotlin/de/jotoho/waituntil/*.kt -jvm-target 17 -include-runtime -d waituntil.jar
|
kotlinc app/src/main/kotlin/de/jotoho/waituntil/*.kt -jvm-target 16 -include-runtime -d waituntil.jar
|
||||||
|
|
Loading…
Reference in a new issue