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:
committed by
GitHub
parent
39675c9a23
commit
0eee0ff775
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user