Skip to content

Commit 84e9b87

Browse files
committed
Increase gradle memory
1 parent 2a961ae commit 84e9b87

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

gradle.properties

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1-
# Project-wide Gradle settings.
2-
# IDE (e.g. Android Studio) users:
3-
# Gradle settings configured through the IDE *will override*
4-
# any settings specified in this file.
5-
# For more details on how to configure your build environment visit
1+
## For more details on how to configure your build environment visit
62
# http://www.gradle.org/docs/current/userguide/build_environment.html
3+
#
74
# Specifies the JVM arguments used for the daemon process.
85
# The setting is particularly useful for tweaking memory settings.
9-
android.useAndroidX=true
10-
org.gradle.jvmargs=-Xmx1536m
11-
org.gradle.parallel=true
6+
# Default value: -Xmx1024m -XX:MaxPermSize=256m
7+
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
8+
#
9+
# When configured, Gradle will run in incubating parallel mode.
10+
# This option should only be used with decoupled projects. For more details, visit
11+
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
12+
# org.gradle.parallel=true
13+
#Mon Jan 27 19:47:31 CET 2025
1214
android.defaults.buildfeatures.buildconfig=false
13-
android.nonTransitiveRClass=false
14-
android.nonFinalResIds=true
1515
android.injected.androidTest.leaveApksInstalledAfterRun=true
16-
17-
16+
android.nonFinalResIds=true
17+
android.nonTransitiveRClass=false
18+
android.useAndroidX=true
19+
org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M"
20+
org.gradle.parallel=true

0 commit comments

Comments
 (0)