From 5c01b96af307ff22bbd6af7f69ac8d36cebd15bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaquim=20St=C3=A4hli?= Date: Wed, 13 Sep 2023 09:32:55 +0200 Subject: [PATCH] Enable gradle cache Should improve build time. --- gradle.properties | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gradle.properties b/gradle.properties index 6b6e1c268..7a621cf4d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,6 +7,9 @@ # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 +# Enable gradle cache +# https://docs.gradle.org/current/userguide/configuration_cache.html +org.gradle.configuration-cache=true # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects @@ -23,3 +26,4 @@ kotlin.code.style=official android.nonTransitiveRClass=true android.nonFinalResIds=false android.defaults.buildfeatures.buildconfig = true +org.gradle.unsafe.configuration-cache=true