Update project JDK to 17

This commit is contained in:
Zontreck 2024-02-06 20:59:16 -07:00
parent 6c7d6077e8
commit 32e1d946a3
2 changed files with 6 additions and 6 deletions

View file

@ -18,13 +18,9 @@ group = "dev.zontreck"
archivesBaseName = "LibAC" archivesBaseName = "LibAC"
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
}
java { java {
toolchain.languageVersion = JavaLanguageVersion.of(8) toolchain.languageVersion = JavaLanguageVersion.of(17)
withSourcesJar() withSourcesJar()
withJavadocJar() withJavadocJar()
} }
@ -96,3 +92,7 @@ publishing {
test { test {
useJUnitPlatform() useJUnitPlatform()
} }
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
}

View file

@ -1,3 +1,3 @@
apiVer=1.4 apiVer=1.4
Bus_API=1.0 Bus_API=1.0
Bus_Patch=32 Bus_Patch=33