Skip to content

Instantly share code, notes, and snippets.

@chnouman
Created September 26, 2018 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chnouman/38f133afffec9f83c6fbc315198af2c4 to your computer and use it in GitHub Desktop.
Save chnouman/38f133afffec9f83c6fbc315198af2c4 to your computer and use it in GitHub Desktop.
Increase The Speed of Build Process of Android
#Enable daemon
org.gradle.daemon=true
# Try and findout the best heap size for your project build.
org.gradle.jvmargs=-Xmx3096m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
# Modularise your project and enable parallel build
org.gradle.parallel=true
# Enable configure on demand.
org.gradle.configureondemand=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment