FINERACT-959 make javac fail for Xlint:cast

This commit is contained in:
percyashu
2020-05-20 00:42:20 +02:00
committed by Michael Vorburger ⛑️
parent 5557b8be4a
commit 610375753c
19 changed files with 40 additions and 40 deletions
+1 -1
View File
@@ -282,7 +282,7 @@ configurations {
}
tasks.withType(JavaCompile) {
options.compilerArgs += ["-Xlint:unchecked", "-Werror"] // TODO FINERACT-959 (gradually) enable -Xlint:all (see "javac -help -X")
options.compilerArgs += ["-Xlint:unchecked","-Xlint:cast","-Werror"] // TODO FINERACT-959 (gradually) enable -Xlint:all (see "javac -help -X")
options.deprecation = true
}