Skip to content

Commit 6ab923b

Browse files
committed
Broaden java compilation linting
Closes gh-825
1 parent 835cd24 commit 6ab923b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

build.gradle

+1-4
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,8 @@ subprojects { subproject ->
6363
}
6464
}
6565

66-
compileJava {
67-
options.compilerArgs = [ "-Xlint:deprecation", "-Xlint:-options", "-Werror" ]
68-
}
69-
7066
tasks.withType(JavaCompile) {
67+
options.compilerArgs = [ "-Werror", "-Xlint:unchecked", "-Xlint:deprecation", "-Xlint:rawtypes", "-Xlint:varargs", "-Xlint:options" ]
7168
options.encoding = "UTF-8"
7269
}
7370

0 commit comments

Comments
 (0)