mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[build] Upgrade to Java 21 (#7547)
Signed-off-by: Jade Turner <spacey-sooty@proton.me> Co-authored-by: sciencewhiz <sciencewhiz@users.noreply.github.com>
This commit is contained in:
@@ -103,7 +103,7 @@ configurations {
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
options.compilerArgs = [
|
||||
'--release',
|
||||
'17',
|
||||
'21',
|
||||
'-encoding',
|
||||
'UTF8',
|
||||
"-Werror",
|
||||
|
||||
@@ -5,7 +5,7 @@ if (project.hasProperty('skipJavaFormat')) {
|
||||
apply plugin: 'checkstyle'
|
||||
|
||||
checkstyle {
|
||||
toolVersion = "10.12.2"
|
||||
toolVersion = "10.26.1"
|
||||
configDirectory = file("${project.rootDir}/styleguide")
|
||||
config = resources.text.fromFile(new File(configDirectory.get().getAsFile(), "checkstyle.xml"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user