Switch to language version Java 17 LTS #13

Merged
jotoho merged 1 commit from java17 into master 2021-12-01 12:34:26 +01:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit fd3697e3db - Show all commits

View file

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

View file

@ -2,4 +2,4 @@
# shellcheck disable=SC2046
# Word splitting in find results is intentional!
kotlinc $(find src/main -type f -iname '*.kt') -jvm-target 16 -include-runtime -d waituntil.jar
kotlinc $(find src/main -type f -iname '*.kt') -jvm-target 17 -include-runtime -d waituntil.jar