Commit f9fde350 authored by Leonardo Aramaki's avatar Leonardo Aramaki

Add dexOptions configuration

parent 29d4fcd0
......@@ -83,6 +83,13 @@ android {
androidTest.java.srcDirs += 'src/androidTest/kotlin'
}
}
dexOptions {
if(System.getenv()["CIRCLECI"] as boolean) {
javaMaxHeapSize "2048M"
preDexLibraries false
}
}
}
play {
......
......@@ -7,7 +7,7 @@
machine:
environment:
ANDROID_HOME: /usr/local/android-sdk-linux
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx512m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError"'
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx1536m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError"'
dependencies:
pre:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment