From c2b610546156d26f9b8201d395faf71c6e6f44c3 Mon Sep 17 00:00:00 2001 From: Swung0x48 Date: Sun, 29 Nov 2026 07:08:44 -0400 Subject: [PATCH] [Build] (android-plugin): raise the Gradle heap so release lint fits - The default 512 MB daemon heap ran out in lintVital and the native debug-metadata merge of the release APK build --- android-plugin/gradle.properties | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 android-plugin/gradle.properties diff --git a/android-plugin/gradle.properties b/android-plugin/gradle.properties new file mode 100644 index 00000000..48573b3f --- /dev/null +++ b/android-plugin/gradle.properties @@ -0,0 +1,3 @@ +# Gradle's default daemon heap is 512 MB. The release build's lint and native debug-metadata merge +# run out of it on CI (Java heap space), so give the daemon room for both. +org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8