Enabled Android Studio's "Dex In Process" for Faster App Builds

This commit is contained in:
Juan Miguel Boyero Corral 2016-05-12 22:35:11 +02:00
parent 1d644f8516
commit 4211759a82
2 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,12 @@ ext {
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
dexOptions {
maxProcessCount=2
javaMaxHeapSize "2g"
}
defaultConfig {
applicationId "es.ugr.swad.swadroid"
versionCode gitVersionCode

View File

@ -11,6 +11,7 @@
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx2048m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit