make javac fail, not just warn, for (Xlint) unchecked (FINERACT-959) (#859)

This is just a first step - we should aim for -Xlint:all! ;)
This commit is contained in:
Michael Vorburger ⛑️
2020-05-15 21:31:16 +01:00
committed by GitHub
parent 39675c9a23
commit 0eee0ff775
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -284,7 +284,7 @@ configurations {
}
tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:unchecked'
options.compilerArgs += ["-Xlint:unchecked", "-Werror"] // TODO FINERACT-959 (gradually) enable -Xlint:all (see "javac -help -X")
options.deprecation = true
}