Skip to content

Instantly share code, notes, and snippets.

@OrenBochman
Forked from kevalpatel2106/gradle.properties
Last active September 9, 2018 09:36
Show Gist options
  • Save OrenBochman/1610bc4c80765de8000f18aa76f056cb to your computer and use it in GitHub Desktop.
Save OrenBochman/1610bc4c80765de8000f18aa76f056cb to your computer and use it in GitHub Desktop.
Accelerating Gradle

Accelerating Gradle Builds

#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