Created
December 22, 2021 03:01
-
-
Save kloudsamurai/152ac4851dadf524fabee12f010c4c3a to your computer and use it in GitHub Desktop.
gradle.properties for high memory allocation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Enable daemon | |
org.gradle.daemon=true | |
# Try and findout the best heap size for your project build. | |
org.gradle.jvmargs=-Xmx18G -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options=-Xmx18G | |
# 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