Upgrade project to Java 17

This commit is contained in:
Jonas Tobias Hopusch 2021-09-19 19:25:59 +02:00
parent 3fe9ed5b93
commit 7f725b345c
Failed to generate hash of commit
2 changed files with 4 additions and 4 deletions

View file

@ -37,12 +37,12 @@ dependencies {
}
java {
sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = JavaVersion.VERSION_16
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>() {
kotlinOptions.jvmTarget = "16"
kotlinOptions.jvmTarget = "17"
}
application {

View file

@ -1,3 +1,3 @@
#!/bin/sh
kotlinc app/src/main/kotlin/de/jotoho/waituntil/*.kt -jvm-target 16 -include-runtime -d waituntil.jar
kotlinc app/src/main/kotlin/de/jotoho/waituntil/*.kt -jvm-target 17 -include-runtime -d waituntil.jar