Raise the Gradle heap to 4 GB and cap workers at two so Jetifier and Kotlin release compilation do not exhaust memory while processing Flutter engine artifacts.
8 lines
271 B
Properties
8 lines
271 B
Properties
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8
|
|
org.gradle.workers.max=2
|
|
android.useAndroidX=true
|
|
android.enableJetifier=true
|
|
# These compatibility flags are managed by Flutter's Android toolchain.
|
|
android.builtInKotlin=false
|
|
android.newDsl=false
|