From 7f725b345c591d352d131c07d0aef3e73cee0d2d Mon Sep 17 00:00:00 2001 From: Jonas Tobias Hopusch Date: Sun, 19 Sep 2021 19:25:59 +0200 Subject: [PATCH] Upgrade project to Java 17 --- app/build.gradle.kts | 6 +++--- compile.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 8302635..cd8a815 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -37,12 +37,12 @@ dependencies { } java { - sourceCompatibility = JavaVersion.VERSION_16 - targetCompatibility = JavaVersion.VERSION_16 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } tasks.withType() { - kotlinOptions.jvmTarget = "16" + kotlinOptions.jvmTarget = "17" } application { diff --git a/compile.sh b/compile.sh index b7de14a..ad9d42d 100755 --- a/compile.sh +++ b/compile.sh @@ -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