forked from typetools/checker-framework
-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathgradle.properties
More file actions
17 lines (15 loc) · 897 Bytes
/
Copy pathgradle.properties
File metadata and controls
17 lines (15 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Gradle will fork up to org.gradle.workers.max JVMs to execute tasks in parallel.
# (The default value of org.gradle.workers.max is the number of CPU processors.)
org.gradle.parallel=true
# Heap notes:
# * 2g was tight for this build: Error Prone + a forked javac + many subprojects
# being configured/compiled in parallel routinely came close to the limit.
# * HeapDumpOnOutOfMemoryError makes it possible to diagnose OOMs in CI without
# having to reproduce them locally.
# If you are running CI on memory-constrained agents (< 4 GB available to the
# daemon), drop -Xmx back to 2g or 3g; the build will work, just more slowly.
org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError
org.gradle.caching=true
# Reuse the result of the configuration phase across builds when nothing that
# affects configuration has changed.
org.gradle.configuration-cache=true