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:
Tyler Veness
2022-05-24 13:56:48 -07:00
committed by GitHub
parent b193b318c1
commit d651a1fcec
32 changed files with 165 additions and 50 deletions

View File

@@ -101,7 +101,9 @@ tasks.withType(JavaCompile).configureEach {
'--release',
'11',
'-encoding',
'UTF8'
'UTF8',
"-Werror",
"-Xlint:deprecation,removal",
]
}