The 768m heap cap broke GitHub Actions (KSP OutOfMemoryError: Metaspace) because CI runners read the same gradle.properties. Restore -Xmx6g for CI; the 2GB local server should pass a one-off -Dorg.gradle.jvmargs instead.
6 lines
282 B
Properties
6 lines
282 B
Properties
# Configure your build environment: http://www.gradle.org/docs/current/userguide/build_environment.html
|
|
org.gradle.caching=true
|
|
org.gradle.jvmargs=-Xmx6g -XX:MaxMetaspaceSize=1g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
|
|
org.gradle.parallel=true
|
|
org.gradle.workers.max=4
|