Set java encoding again

This commit is contained in:
Zontreck 2024-02-06 20:55:42 -07:00
parent 8a2b64faef
commit 6c7d6077e8

View file

@ -17,7 +17,11 @@ plugins {
group = "dev.zontreck"
archivesBaseName = "LibAC"
compileJava.options.encoding = "UTF-8"
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
}
java {
toolchain.languageVersion = JavaLanguageVersion.of(8)