mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[build] Change defaults for Java lints (#4300)
Removes the need to individually suppress the "serial" warning.
This commit is contained in:
@@ -103,7 +103,11 @@ tasks.withType(JavaCompile).configureEach {
|
||||
'-encoding',
|
||||
'UTF8',
|
||||
"-Werror",
|
||||
"-Xlint:deprecation,removal",
|
||||
"-Xlint:all",
|
||||
// ignore AutoCloseable warnings
|
||||
"-Xlint:-try",
|
||||
// ignore missing serialVersionUID warnings
|
||||
"-Xlint:-serial",
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user