gradle.properties
gradle.properties
1# Keep compilation sequential and share the Gradle heap with Kotlin/JVM.2# Native tools and test JVMs still allocate memory outside this heap.3# Size the shared heap from the host; Codemagic's mac_mini_m2 has 8 GB RAM.4org.gradle.jvmargs=-XX:MaxRAMPercentage=75 -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-85kotlin.daemon.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-86kotlin.compiler.execution.strategy=in-process7org.gradle.workers.max=18# Compile release dependencies into separate native caches instead of loading every9# dependency into one whole-program optimization. Both switches are required by Kotlin 2.4.20.10# https://kotlinlang.org/docs/native-improving-compilation-time.html#enable-caches-for-release-binaries11kotlin.native.binary.enableReleaseBinaryCache=true12kotlin.internal.native.enableReleaseBinaryCache=true13org.gradle.caching=true14org.gradle.parallel=false15kotlin.code.style=official16android.useAndroidX=true17android.nonTransitiveRClass=true18kotlin.mpp.enableCInteropCommonization=true19