diff --git a/.github/.github/ci-gradle.properties b/.github/.github/ci-gradle.properties new file mode 100644 index 000000000..73f0f05aa --- /dev/null +++ b/.github/.github/ci-gradle.properties @@ -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