aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 95c020ba..7bbddb3a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -387,7 +387,9 @@ subprojects {
tasks.withType(JavaCompile).all { JavaCompile compile ->
compile.doFirst {
compile.options.compilerArgs += [
- '-Xmaxerrs', '10000', "-Xbootclasspath/p:${configurations.checkerFrameworkAnnotatedJDK.asPath}",
+ '-Xmaxerrs', '10000',
+ "-Xbootclasspath/p:${configurations.checkerFrameworkAnnotatedJDK.asPath}",
+ "-AskipDefs=\\.AutoValue_"
]
options.fork = true
options.forkOptions.jvmArgs += ["-Xbootclasspath/p:${configurations.checkerFrameworkJavac.asPath}"]