We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cf7a67 commit 6d72ab0Copy full SHA for 6d72ab0
src/test/groovy/com/google/protobuf/gradle/ProtobufPluginTestHelper.groovy
@@ -59,6 +59,12 @@ final class ProtobufPluginTestHelper {
59
60
args.add(fullPathTask)
61
args.add("--stacktrace")
62
+ // DSL element 'dexOptions' is obsolete and should be removed.
63
+ // It will be removed in version 8.0 of the Android Gradle plugin.
64
+ // Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.
65
+ //
66
+ // Set memory limit for all gradle build, not only for dexing
67
+ args.add("-Dorg.gradle.jvmargs=-Xmx1g")
68
return GradleRunner.create()
69
.withProjectDir(mainProjectDir)
70
.withArguments(args)
0 commit comments