-
-
Notifications
You must be signed in to change notification settings - Fork 111
/
Copy pathgradle.properties
24 lines (19 loc) · 890 Bytes
/
gradle.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Settings specified in this file will override any Gradle settings
# configured through the IDE.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Github free runners have 16GB of memory
# ParallelGC for more stable CI builds
# Note that dexOptions.javaMaxHeapSize is set to 1g by default so gradle needs to reserve 1g for dex
org.gradle.jvmargs=-Xmx2500m -Xms256m -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC
# Kotlin can require lots of memory too!
kotlin.daemon.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m
org.gradle.parallel=false
org.gradle.workers.max=4
org.gradle.priority=low
android.enableJetifier=false
android.useAndroidX=true
org.gradle.caching=true
org.gradle.configuration-cache=true