Skip to content

Instantly share code, notes, and snippets.

@danielgomezrico
Last active March 14, 2016 22:44
Show Gist options
  • Save danielgomezrico/50de23e3fc75f521ada5 to your computer and use it in GitHub Desktop.
Save danielgomezrico/50de23e3fc75f521ada5 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.parallel = true
org.gradle.parallel.threads = 5
org.gradle.configureondemand = true
# org.gradle.jvmargs = -Xmx8g -Xms2g -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
@danielgomezrico
Copy link
Author

Commented line was giving serious performance issues freezing the computer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment