Back to Java version 16

Gradle and Kotlin don't yet support Java 17, apparently. :(

This commit reverts 7f725b345c
This commit is contained in:
Jonas Tobias Hopusch 2021-09-19 19:58:37 +02:00
parent 92a226dd02
commit ad869f7346
Failed to generate hash of commit
2 changed files with 4 additions and 4 deletions

View file

@ -39,8 +39,8 @@ dependencies {
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = JavaVersion.VERSION_16
}
tasks.test {
@ -48,7 +48,7 @@ tasks.test {
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "17"
kotlinOptions.jvmTarget = "16"
}
application {

View file

@ -1,3 +1,3 @@
#!/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