From bbdac9d1ba43a9952214c6ebe813ea04ee3491eb Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Fri, 16 Sep 2022 14:57:11 +0100 Subject: [PATCH] fix build cache misses - forcing the stem string template generator to be cachable, without this the templates are regenerated causing the vector module to recompile its sources (our slowest task!) --- library/ui-strings/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/ui-strings/build.gradle b/library/ui-strings/build.gradle index 860fc3c980..6a31f24c9b 100644 --- a/library/ui-strings/build.gradle +++ b/library/ui-strings/build.gradle @@ -20,3 +20,7 @@ android { jvmTarget = "11" } } + +tasks.withType( com.likethesalad.android.templates.common.tasks.BaseTask) { + it.outputs.cacheIf { true } +}