1
0

Update Java to 11 with --release 8 (#3846)

This commit is contained in:
Josiah Glosson
2025-06-26 13:38:58 -05:00
committed by GitHub
parent 053cf10198
commit a1ccbc5757

View File

@@ -14,11 +14,12 @@ dependencies {
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
languageVersion = JavaLanguageVersion.of(11)
}
}
tasks.withType<JavaCompile>().configureEach {
options.release = 8
options.compilerArgs.addAll(listOf("-Xlint:all", "-Werror"))
}