From 0da93ad219723315002000f8e3dd23affe17f05f Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 5 Jul 2016 15:07:32 +0200 Subject: [PATCH] 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 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 6a8bae2033..30f90d3c9c 100644 --- a/build.gradle +++ b/build.gradle @@ -94,7 +94,7 @@ configure(allprojects) { project -> "-Xlint:dep-ann", "-Xlint:divzero", "-Xlint:empty", "-Xlint:finally", "-Xlint:overrides", "-Xlint:path", "-Xlint:processing", "-Xlint:static", "-Xlint:try", "-Xlint:fallthrough", "-Xlint:rawtypes", "-Xlint:deprecation", - "-Xlint:unchecked", "-Xlint:-options" //, "-Werror" + "-Xlint:unchecked", "-Xlint:-options", "-Werror" ] compileTestJava.options*.compilerArgs = [