mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-09-12 21:30:02 -04:00
build: give the K/N compiler and lint worker enough heap for a cold CI build (#7130)
This commit is contained in:
1 parent
709ab11e81
commit
bc129d629b
1 file changed
+6
@@ -1,6 +1,9 @@
|
||||
# --- Android build features ---
|
||||
android.defaults.buildfeatures.resvalues=false
|
||||
android.defaults.buildfeatures.shaders=false
|
||||
# Lint analysis runs in its own worker, so neither org.gradle.jvmargs nor
|
||||
# kotlin.daemon.jvm.options applies to it. The default heap OOMs on a cold analysis.
|
||||
android.experimental.lint.heapSize=3G
|
||||
|
||||
# --- Compose ---
|
||||
android.experimental.enableScreenshotTest=true
|
||||
@@ -12,6 +15,9 @@ enableComposeCompilerReports=false
|
||||
kotlin.code.style=official
|
||||
kotlin.daemon.jvm.options=-Xmx4g -XX\:+UseG1GC -XX\:SoftRefLRUPolicyMSPerMB=1 -XX\:ReservedCodeCacheSize=320m -XX\:+HeapDumpOnOutOfMemoryError
|
||||
kotlin.daemon.useFallback=false
|
||||
# The Kotlin/Native compiler runs in its own JVM, governed by neither of the heaps
|
||||
# above. Its 3g default OOMs compiling every module for iOS from a cold cache.
|
||||
kotlin.native.jvmArgs=-Xmx5g -XX\:+UseG1GC -XX\:+HeapDumpOnOutOfMemoryError
|
||||
|
||||
# --- KSP ---
|
||||
# (incremental processing is default-on in KSP2; only the non-default flag is declared)
|
||||
|
||||
Reference in new issue
Block a user