From 0968e315f46461fc9c58be6db60b22dee519c6a7 Mon Sep 17 00:00:00 2001 From: Abandoned Cart Date: Tue, 6 Jun 2023 12:46:21 -0400 Subject: [PATCH] android: Improve Gradle build configuration --- src/android/gradle.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/android/gradle.properties b/src/android/gradle.properties index 653a35ce8..e2f278f33 100644 --- a/src/android/gradle.properties +++ b/src/android/gradle.properties @@ -9,8 +9,9 @@ # http://www.gradle.org/docs/current/userguide/build_environment.html # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 +org.gradle.jvmargs=-Xms512m -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 android.useAndroidX=true # Kotlin code style for this project: "official" or "obsolete": kotlin.code.style=official +kotlin.parallel.tasks.in.project=true android.defaults.buildfeatures.buildconfig=true