FINERACT-959 make javac fail for Xlint:cast
This commit is contained in:
committed by
Michael Vorburger ⛑️
parent
5557b8be4a
commit
610375753c
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user