From 7dcc01e69b5ed8dfc61e152185b2081dd73318fe Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 7 Jul 2014 19:16:05 -0700 Subject: [PATCH] Disable `processing` javac warnings Set `-Xlint:-processing` to disable annotation processing warnings. Required when building on JDK 1.8.0_20-b05 due to JDK-8039469. Issue: SPR-11973 (cherry picked from commit ea16ce0) --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 2273f9e667..be474f0dac 100644 --- a/build.gradle +++ b/build.gradle @@ -43,7 +43,7 @@ configure(allprojects) { project -> compileJava.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:overrides", "-Xlint:path", "-Xlint:-processing", "-Xlint:static", "-Xlint:try", "-Xlint:fallthrough", "-Xlint:rawtypes", "-Xlint:deprecation", "-Xlint:unchecked", "-Xlint:-options", "-Werror" ] @@ -51,7 +51,7 @@ configure(allprojects) { project -> 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:overrides", "-Xlint:path", "-Xlint:-processing", "-Xlint:static", "-Xlint:try", "-Xlint:-fallthrough", "-Xlint:-rawtypes", "-Xlint:-deprecation", "-Xlint:-unchecked", "-Xlint:-options"]