From 63f02c9e43bef8857b3f27b9c9221ab6abcb76e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaquim=20St=C3=A4hli?= Date: Wed, 13 Sep 2023 14:41:13 +0200 Subject: [PATCH] Enable gradle cache (#241) --- gradle.properties | 4 ++++ pillarbox-ui/build.gradle.kts | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) 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 diff --git a/pillarbox-ui/build.gradle.kts b/pillarbox-ui/build.gradle.kts index 5673a429e..2432218e3 100644 --- a/pillarbox-ui/build.gradle.kts +++ b/pillarbox-ui/build.gradle.kts @@ -5,7 +5,6 @@ plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) - alias(libs.plugins.kotlin.kapt) `maven-publish` }