summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2020-10-22 18:11:21 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-10-29 11:36:53 +0000
commit903a3b6493f1fe66b43eb8696b706d1943230e42 (patch)
treebfd018bd67ecebe8798414391eb1e9c95adaa290 /src
parentd10c34b0cc896c711fce8ae5629e3cc3d74b6452 (diff)
Android: disable Gradle caching by default
If enabled by default, the cache size will grow quickly, especially if multiple different projects are managed every day. Keep the option commented, which can be enabled manually by the user. Change-Id: I6d4a67f4f1bb3e37b02de7ff4c534ec4d006f9a3 Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io> Reviewed-by: Rami Potinkara <rami.potinkara@qt.io> (cherry picked from commit 90912b657edf27d40aa1a8ac8fbc3bae8d285e25) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/gradle/gradle.properties6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/3rdparty/gradle/gradle.properties b/src/3rdparty/gradle/gradle.properties
index 554f6aeba1..fded106b17 100644
--- a/src/3rdparty/gradle/gradle.properties
+++ b/src/3rdparty/gradle/gradle.properties
@@ -5,5 +5,7 @@
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m
-# Enable Gradle caching
-org.gradle.caching=true
+# Gradle caching allows reusing the build artifacts from a previous
+# build with the same inputs. However, over time, the cache size will
+# grow. Uncomment the following line to enable it.
+#org.gradle.caching=true