forked from Stirling-Tools/Stirling-PDF
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgradle.properties
More file actions
23 lines (18 loc) · 1.11 KB
/
Copy pathgradle.properties
File metadata and controls
23 lines (18 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Gradle daemon heap. The default (512 MiB) is exhausted by the larger builds
# (notably the saas flavor) under parallel execution, causing intermittent
# "JVM garbage collector is thrashing" daemon deaths in CI. 2 GiB heap + 1 GiB
# metaspace gives comfortable headroom on CI runners and typical dev machines.
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=1g
# Enables parallel execution of tasks, allowing multiple tasks to run simultaneously
org.gradle.parallel=true
# Enables build caching to reuse outputs from previous builds for faster execution
org.gradle.caching=true
org.gradle.build-scan=true
# allow Gradle to download the toolchain version requested by the build
org.gradle.java.installations.auto-download=true
org.gradle.daemon=true
# org.gradle.configuration-cache=true
# Gradle daemon heap. Without this the daemon uses Gradle's 512m default, which the SaaS build
# variant (it compiles saas + proprietary + core together) exhausts during compileTestJava - the
# GC thrashes and the daemon is stopped. Give all flavours comfortable headroom.
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8