Bug 1366644 - Pre: Bump Gradle JVM heap to allow in-process dex. r=maliu draft
authorNick Alexander <nalexander@mozilla.com>
Tue, 18 Jul 2017 17:59:57 -0700
changeset 681828 1f42d73b53bb46b29d3602845c62578576cd0f3e
parent 681827 33e5c9f81d05551c9e167eac62009f1de023b410
child 681829 8c1ec73945494d3307148b3e7d0cd44815bab40a
push id84947
push usernalexander@mozilla.com
push dateTue, 17 Oct 2017 21:26:05 +0000
reviewersmaliu
bugs1366644
milestone58.0a1
Bug 1366644 - Pre: Bump Gradle JVM heap to allow in-process dex. r=maliu In-process dex is a slight performance win. This also upgrades `dexcount-gradle-plugin` to 0.7.1. MozReview-Commit-ID: 2Bg5qX41pHB
build.gradle
gradle.properties
--- a/build.gradle
+++ b/build.gradle
@@ -55,17 +55,17 @@ buildscript {
 
     dependencies {
         classpath 'com.android.tools.build:gradle:2.1.3'
         classpath('com.stanfy.spoon:spoon-gradle-plugin:1.0.4') {
             // Without these, we get errors linting.
             exclude module: 'guava'
         }
         // Provided in tree.
-        classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.6.1'
+        classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.7.3'
     }
 }
 
 task generateCodeAndResources(type:Exec) {
     workingDir "${topobjdir}"
 
     commandLine mozconfig.substs.GMAKE
     args '-C'
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,2 +1,3 @@
 org.gradle.parallel=true
 org.gradle.daemon=true
+org.gradle.jvmargs=-Xmx2560M