2026-07-27 11:46:56 +01:00
|
|
|
# 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
|
|
|
|
|
|
2025-01-12 14:46:40 +01:00
|
|
|
# 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
|
2025-08-08 11:36:30 +02:00
|
|
|
org.gradle.caching=true
|
2025-01-12 14:46:40 +01:00
|
|
|
|
|
|
|
|
org.gradle.build-scan=true
|
2026-02-24 21:06:32 +01:00
|
|
|
# allow Gradle to download the toolchain version requested by the build
|
|
|
|
|
org.gradle.java.installations.auto-download=true
|
|
|
|
|
|
|
|
|
|
org.gradle.daemon=true
|
2025-08-08 11:36:30 +02:00
|
|
|
# org.gradle.configuration-cache=true
|
2026-08-03 15:58:10 +01:00
|
|
|
|
|
|
|
|
# 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
|