Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
1.1 KiB
Properties
Raw Permalink Normal View History

# 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
org.gradle.caching=true
2025-01-12 14:46:40 +01:00
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