mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Fix internal deprecation warnings (#4257)
This allows us to error out on deprecation warnings for thirdparty libraries and standard library features. Co-authored-by: Starlight220 <53231611+Starlight220@users.noreply.github.com>
This commit is contained in:
@@ -101,7 +101,9 @@ tasks.withType(JavaCompile).configureEach {
|
||||
'--release',
|
||||
'11',
|
||||
'-encoding',
|
||||
'UTF8'
|
||||
'UTF8',
|
||||
"-Werror",
|
||||
"-Xlint:deprecation,removal",
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user