Add CI-specific Gradle configuration (#3005)

This commit is contained in:
Rajan Maurya 2025-12-06 20:07:04 +05:30 committed by GitHub
parent 768a6a657d
commit 2c69ebfa3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

17
.github/ci-gradle.properties vendored Normal file
View File

@ -0,0 +1,17 @@
# Disable daemon for CI to avoid leftover processes
org.gradle.daemon=false
# Run tasks in parallel where possible
org.gradle.parallel=true
# Increase heap and metaspace for larger builds (macOS-latest has ~7 GB available)
org.gradle.jvmargs=-Xmx7g
# Limit max workers to avoid memory pressure in CI
org.gradle.workers.max=3
# Disable Kotlin incremental compilation in CI for clean, consistent builds
kotlin.incremental=false
# Use in-process Kotlin compiler to avoid extra forked processes
kotlin.compiler.execution.strategy=in-process