From ea16ce0aa0c1474dc0c9fc0b997182299c41bcf9 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 --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 173a5865f2..99c94fbf26 100644 --- a/build.gradle +++ b/build.gradle @@ -51,7 +51,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" ] @@ -59,7 +59,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"]