Browse Source

Reinstate -Werror compiler argument in Gradle build

Commit 0900808 resolved the previous issue by moving the warning
suppression from the method parameter to the method itself.

Issue: SPR-13188
pull/1099/head
Sam Brannen 10 years ago
parent
commit
0da93ad219
  1. 2
      build.gradle

2
build.gradle

@ -94,7 +94,7 @@ configure(allprojects) { project ->
"-Xlint:dep-ann", "-Xlint:divzero", "-Xlint:empty", "-Xlint:finally", "-Xlint:dep-ann", "-Xlint:divzero", "-Xlint:empty", "-Xlint:finally",
"-Xlint:overrides", "-Xlint:path", "-Xlint:processing", "-Xlint:static", "-Xlint:overrides", "-Xlint:path", "-Xlint:processing", "-Xlint:static",
"-Xlint:try", "-Xlint:fallthrough", "-Xlint:rawtypes", "-Xlint:deprecation", "-Xlint:try", "-Xlint:fallthrough", "-Xlint:rawtypes", "-Xlint:deprecation",
"-Xlint:unchecked", "-Xlint:-options" //, "-Werror" "-Xlint:unchecked", "-Xlint:-options", "-Werror"
] ]
compileTestJava.options*.compilerArgs = [ compileTestJava.options*.compilerArgs = [

Loading…
Cancel
Save