9
0
mirror of https://github.com/Auxilor/Reforges.git synced 2025-12-27 02:49:13 +00:00

Updated to Java 17

This commit is contained in:
Auxilor
2021-11-30 19:13:19 +00:00
parent 80842cabfe
commit b866a11f54
2 changed files with 6 additions and 6 deletions

View File

@@ -70,12 +70,12 @@ allprojects {
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {
kotlinOptions {
jvmTarget = "16"
jvmTarget = "17"
}
}
java.sourceCompatibility = JavaVersion.VERSION_16
java.targetCompatibility = JavaVersion.VERSION_16
java.sourceCompatibility = JavaVersion.VERSION_17
java.targetCompatibility = JavaVersion.VERSION_17
compileJava.options.encoding = 'UTF-8'
compileJava.dependsOn clean

View File

@@ -1,6 +1,6 @@
jdk: openjdk16
jdk: openjdk17
before_install:
- source "$HOME/.sdkman/bin/sdkman-init.sh"
- sdk update
- sdk install java 16.0.1-open
- sdk use java 16.0.1-open
- sdk install java 17.0.1-tem
- sdk use java 17.0.1-tem