Skip to content

Commit

Permalink
Update -Xlint compiler warning output
Browse files Browse the repository at this point in the history
Enable output for the compiler warnings that have been eliminated so
far. 'rawtypes', 'deprecation', and 'unchecked' remain suppressed until
these warnings can be fully eliminated as well.
  • Loading branch information
philwebb authored and cbeams committed Dec 28, 2012
1 parent 40357be commit 3ac4554
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion build.gradle
Expand Up @@ -35,7 +35,26 @@ configure(allprojects) {
sourceCompatibility=1.5
targetCompatibility=1.5

[compileJava, compileTestJava]*.options*.compilerArgs = ["-Xlint:none"]
[compileJava, compileTestJava]*.options*.compilerArgs = [
"-Xlint:serial",
"-Xlint:varargs",
"-Xlint:cast",
"-Xlint:classfile",
"-Xlint:dep-ann",
"-Xlint:divzero",
"-Xlint:empty",
"-Xlint:finally",
"-Xlint:overrides",
"-Xlint:path",
"-Xlint:processing",
"-Xlint:static",
"-Xlint:try",
"-Xlint:-options", // intentionally disabled
"-Xlint:-fallthrough", // intentionally disabled
"-Xlint:-rawtypes", // TODO enable and fix warnings
"-Xlint:-deprecation", // TODO enable and fix warnings
"-Xlint:-unchecked" // TODO enable and fix warnings
]

sourceSets.test.resources.srcDirs = ["src/test/resources", "src/test/java"]

Expand Down

0 comments on commit 3ac4554

Please sign in to comment.