[build] Change source compatibility to Java 17 (#6585)

This commit is contained in:
Isaac Turner
2024-05-05 22:52:42 +08:00
committed by GitHub
parent 9ed2f66914
commit 6a73ca8c08
2 changed files with 3 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ configurations {
tasks.withType(JavaCompile).configureEach {
options.compilerArgs = [
'--release',
'11',
'17',
'-encoding',
'UTF8',
"-Werror",