aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.gradle3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index f510f6ac..6599d69b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -389,7 +389,8 @@ subprojects {
compile.options.compilerArgs += [
'-Xmaxerrs', '10000',
"-Xbootclasspath/p:${configurations.checkerFrameworkAnnotatedJDK.asPath}",
- "-AskipDefs=\\.AutoValue_"
+ "-AskipDefs=\\.AutoValue_",
+ "-AinvariantArrays"
]
options.fork = true
options.forkOptions.jvmArgs += ["-Xbootclasspath/p:${configurations.checkerFrameworkJavac.asPath}"]