Skip to content

Instantly share code, notes, and snippets.

@hateum
Forked from danielgomezrico/gradle.properties
Created March 1, 2016 14:57
Show Gist options
  • Save hateum/112ac741216b2c2286c5 to your computer and use it in GitHub Desktop.
Save hateum/112ac741216b2c2286c5 to your computer and use it in GitHub Desktop.
Android / Gradle - global gradle.properties for fast gradle builds on local machines (NOT in CI).
org.gradle.daemon = true
org.gradle.jvmargs = -Xmx8g -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxPermSize=4g -Dsun.io.useCanonCaches=false -XX:+DoEscapeAnalysis -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:+UseFastAccessorMethods -XX:+CMSClassUnloadingEnabled -noverify -Xverify:none -XX:+TieredCompilation -da
org.gradle.parallel = true
org.gradle.parallel.threads = 5
org.gradle.configureondemand = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment