Update project JDK to 17
This commit is contained in:
parent
6c7d6077e8
commit
32e1d946a3
2 changed files with 6 additions and 6 deletions
10
build.gradle
10
build.gradle
|
@ -18,13 +18,9 @@ group = "dev.zontreck"
|
|||
archivesBaseName = "LibAC"
|
||||
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
|
||||
}
|
||||
|
||||
|
||||
java {
|
||||
toolchain.languageVersion = JavaLanguageVersion.of(8)
|
||||
toolchain.languageVersion = JavaLanguageVersion.of(17)
|
||||
withSourcesJar()
|
||||
withJavadocJar()
|
||||
}
|
||||
|
@ -96,3 +92,7 @@ publishing {
|
|||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
apiVer=1.4
|
||||
Bus_API=1.0
|
||||
Bus_Patch=32
|
||||
Bus_Patch=33
|
||||
|
|
Loading…
Reference in a new issue