Should work now

This commit is contained in:
libraryaddict 2024-08-06 00:36:29 +12:00
parent c9564ebc7b
commit c822a5dc7c

View File

@ -2,12 +2,6 @@ plugins {
`java-library`
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
subprojects {
repositories {
mavenCentral()
@ -36,11 +30,17 @@ subprojects {
apply(plugin = "java-library")
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
sourceCompatibility = "8"
targetCompatibility = "8"
}
group = "me.libraryaddict.disguises"