Created
August 18, 2022 15:47
-
-
Save gaplo917/126cebd7d40b471378e674aae9da3a71 to your computer and use it in GitHub Desktop.
Gradle >= 7.3 properties
This file contains 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
# greatly reduce build time | |
# https://docs.gradle.org/current/userguide/build_cache.html | |
org.gradle.caching=true | |
# potentially increase build speed if the gradle task can be parallel | |
# https://docs.gradle.org/current/userguide/performance.html#parallel_execution | |
org.gradle.parallel=true | |
# watch file system | |
# https://blog.gradle.org/introducing-file-system-watching | |
org.gradle.vfs.watch=true | |
# 1GB heap, use latest JDK 17 ZGC, Gradle >= 7.3 only | |
# install jdk 17: brew install openjdk@17 | |
# check jdk version: ./gradlew --version | |
# if default jdk is not 17, you can run manually: ./gradlew -Dorg.gradle.java.home=/opt/homebrew/opt/openjdk@17 | |
org.gradle.jvmargs=-Xmx1g -XX:+UseZGC -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment