diff --git a/docs/html/tools/building/building-studio.jd b/docs/html/tools/building/building-studio.jd index 8da70c0b9cb5e..7ba716fc3f424 100644 --- a/docs/html/tools/building/building-studio.jd +++ b/docs/html/tools/building/building-studio.jd @@ -548,21 +548,25 @@ parent.link=index.html When you deploy a clean build, Android Studio instruments your app to allow Instant Run to push code and resource updates. Although updating the running app happens much more quickly, the first build may take longer to complete. - You can improve the build process by configuring a few DEX options, such as - maxProcessCount and javaMaxHeapSize. + You can improve the build process by configuring a few + DexOptions settings:

- maxProcessCount + + maxProcessCount
- Sets the maximum number of DEX processes that can be started - concurrently. If the Gradle daemon is already running, you need to - stop the process before initializing it with a new maximum process count. - You can terminate the Gradle daemon by calling one of the following from - the Terminal window: + Sets the maximum number of DEX processes that can be started concurrently. + If the Gradle daemon is already running, you need to stop the process + before initializing it with a new maximum process count. You can terminate + the Gradle daemon by calling one of the following from the + Terminal window:
- javaMaxHeapSize + + javaMaxHeapSize
@@ -593,7 +599,7 @@ parent.link=index.html android { ... dexOptions { - maxProcessCount 4 + maxProcessCount 4 // this is the default value javaMaxHeapSize "2g" } } diff --git a/docs/html/tools/revisions/gradle-plugin.jd b/docs/html/tools/revisions/gradle-plugin.jd index 9d688d85c4fca..20492f7d0c075 100644 --- a/docs/html/tools/revisions/gradle-plugin.jd +++ b/docs/html/tools/revisions/gradle-plugin.jd @@ -28,14 +28,20 @@ page.title=Android Plugin for Gradle Release Notes
    +
  1. + Android Plugin DSL + Reference +
  2. +
  3. Build System Overview
  4. - Android - Plugin for Gradle + Android Plugin + for Gradle
@@ -166,15 +172,17 @@ distributionUrl = https\://services.gradle.org/distributions/gradle-2.10-all.zip connected device. -
  • Added maxProcessCount to control how many slave dex processes can - be spawned concurrently. The following code, in the module-level +
  • Added + maxProcessCount to control how many slave dex processes can be + spawned concurrently. The following code, in the module-level build.gradle file, sets the maximum number of concurrent processes to 4:
     android {
       ...
       dexOptions {
    -  maxProcessCount = 4
    +  maxProcessCount = 4 // this is the default value
       }
     }
     
    @@ -192,11 +200,11 @@ android { ... buildTypes { debug { - minifyEnabed true + minifyEnabled true useProguard false } release { - minifyEnabed true + minifyEnabled true useProguard true // this is a default setting } }