Broaden java compilation linting
Closes gh-825
This commit is contained in:
@@ -63,11 +63,8 @@ subprojects { subproject ->
|
||||
}
|
||||
}
|
||||
|
||||
compileJava {
|
||||
options.compilerArgs = [ "-Xlint:deprecation", "-Xlint:-options", "-Werror" ]
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs = [ "-Werror", "-Xlint:unchecked", "-Xlint:deprecation", "-Xlint:rawtypes", "-Xlint:varargs", "-Xlint:options" ]
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user