aboutsummaryrefslogtreecommitdiff
path: root/android/gradle.properties
diff options
context:
space:
mode:
Diffstat (limited to 'android/gradle.properties')
-rw-r--r--android/gradle.properties11
1 files changed, 11 insertions, 0 deletions
diff --git a/android/gradle.properties b/android/gradle.properties
new file mode 100644
index 000000000..53b475cf9
--- /dev/null
+++ b/android/gradle.properties
@@ -0,0 +1,11 @@
+<#if isLowMemory>
+org.gradle.jvmargs=-Xmx4G -XX:MaxPermSize=2G -XX:+HeapDumpOnOutOfMemoryError
+<#else>
+org.gradle.jvmargs=-Xmx16G -XX:MaxPermSize=8G -XX:+HeapDumpOnOutOfMemoryError
+</#if>
+org.gradle.daemon=true
+org.gradle.parallel=true
+org.gradle.parallel.threads=8
+org.gradle.configureondemand=true
+android.enableJetifier=true
+android.useAndroidX=true