Skip to content

Instantly share code, notes, and snippets.

@vab2048
Created May 22, 2023 15:52
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 vab2048/020c753d758c5b0c91076ec3898abe8c to your computer and use it in GitHub Desktop.
Save vab2048/020c753d758c5b0c91076ec3898abe8c to your computer and use it in GitHub Desktop.
gradle.properties
# There are a number of JVM args we use:
# -Djavax.net.ssl.trustStore=".assets/cacerts/java.cacerts"
# - Provide link to the cacerts to allow connections to internal nexus instance with self signed certificate.
# -Xmx3g
# - Launch the gradle daemon with 3gb of memory to speed up processing.
# -XX:+HeapDumpOnOutOfMemoryError
# - Take a heap dump if the gradle process goes out of memory
# -Dfile.encoding=UTF-8
# - Assume all files are encoded in utf-8.
#
org.gradle.jvmargs=-Djavax.net.ssl.trustStore=".assets/cacerts/java.cacerts" -Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
# Build in parallel to speed up the process.
org.gradle.parallel=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment