Skip to content

Commit aa41582

Browse files
Enable configuration cache (#743)
* Update gradle.properties Enable configuration cache * Update gradle.properties * enabled configuration cache
1 parent 51de517 commit aa41582

File tree

1 file changed

+5
-21
lines changed

1 file changed

+5
-21
lines changed

gradle.properties

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,11 @@
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
6-
# http://www.gradle.org/docs/current/userguide/build_environment.html
7-
# Specifies the JVM arguments used for the daemon process.
8-
# The setting is particularly useful for tweaking memory settings.
9-
#org.gradle.jvmargs=-Xmx2048m
10-
#kotlin.daemon.jvmargs=-Xmx2048m
11-
# When configured, Gradle will run in incubating parallel mode.
12-
# This option should only be used with decoupled projects. More details, visit
13-
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
14-
# org.gradle.parallel=true
15-
16-
# [https://developer.android.com/build/optimize-your-build#optimize]
1+
# https://developer.android.com/build/optimize-your-build
172
org.gradle.daemon=true
18-
org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=512m
3+
org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=1g
194
org.gradle.parallel=true
205

21-
# configuration cache [https://developer.android.com/build/optimize-your-build#use-the-configuration-cache-experimental]
22-
#org.gradle.unsafe.configuration-cache=true
23-
#org.gradle.unsafe.configuration-cache-problems=warn
6+
# configuration cache [https://docs.gradle.org/current/userguide/configuration_cache.html]
7+
org.gradle.configuration-cache=true
8+
#org.gradle.configuration-cache.problems=warn
249

2510
# https://docs.gradle.org/current/userguide/build_cache.html
2611
org.gradle.caching=true
@@ -30,4 +15,3 @@ android.useAndroidX=true
3015
android.nonTransitiveRClass=true
3116
android.nonFinalResIds=true
3217
android.enableR8.fullMode=false
33-

0 commit comments

Comments
 (0)