Bug 1370119 - Pre: Bump Gradle JVM heap to allow in-process dex. r=sebastian draft
authorNick Alexander <nalexander@mozilla.com>
Tue, 18 Jul 2017 17:59:57 -0700
changeset 678601 98440d11720b2f0b67d7ad512f3ba9ac5d84fd9a
parent 678600 6e4397f157108081ad90de7bad6432c583f9ff5f
child 678602 9c2110acb75c643dc049c1c4a67a4125ce1725e9
push id83975
push usernalexander@mozilla.com
push dateWed, 11 Oct 2017 16:10:55 +0000
reviewerssebastian
bugs1370119
milestone58.0a1
Bug 1370119 - Pre: Bump Gradle JVM heap to allow in-process dex. r=sebastian 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