Downgraded to Java 17 for compatibility

This commit is contained in:
Auxilor 2024-07-08 14:36:12 +01:00
parent 8c7b6adbb0
commit 27c9395b64
3 changed files with 13 additions and 3 deletions

View File

@ -64,7 +64,7 @@ allprojects {
compileKotlin { compileKotlin {
kotlinOptions { kotlinOptions {
jvmTarget = "21" jvmTarget = "17"
} }
} }
@ -90,7 +90,7 @@ allprojects {
} }
withType<JavaCompile>().configureEach { withType<JavaCompile>().configureEach {
options.release = 21 options.release = 17
} }
} }

View File

@ -13,4 +13,14 @@ tasks {
build { build {
dependsOn(reobfJar) dependsOn(reobfJar)
} }
compileJava {
options.release = 21
}
compileKotlin {
kotlinOptions {
jvmTarget = "21"
}
}
} }

View File

@ -1,5 +1,5 @@
#libreforge-updater #libreforge-updater
#Fri Jul 05 13:01:41 BST 2024 #Fri Jul 05 13:01:41 BST 2024
kotlin.code.style=official kotlin.code.style=official
libreforge-version=4.64.1 libreforge-version=4.65.0
version=12.11.1 version=12.11.1