Upgrade to Java 17
This commit is contained in:
parent
e11d3ead97
commit
fd3697e3db
2 changed files with 4 additions and 4 deletions
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue