build.gradle: increase JVM memory settings (#145)

This fixes the issue where building in Android Studio OOMs

Fixes #10714

Signed-off-by: kari-ts <kari@tailscale.com>
pull/146/head
kari-ts 11 months ago committed by GitHub
parent 61453254df
commit ae647625b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,3 +2,4 @@ android.defaults.buildfeatures.buildconfig=true
android.nonFinalResIds=false android.nonFinalResIds=false
android.nonTransitiveRClass=false android.nonTransitiveRClass=false
android.useAndroidX=true android.useAndroidX=true
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m

Loading…
Cancel
Save