From 1095bb5f948227896221cb6a377c21459ea4432f Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Wed, 19 Nov 2025 16:30:37 -0800 Subject: [PATCH 1/2] Enable gradle configuration cache --- gradle.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/gradle.properties b/gradle.properties index fef595296b18..bc3c93e2600b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,6 @@ org.gradle.parallel=true org.gradle.caching=true +org.gradle.configuration-cache=true org.gradle.priority=low From aa4e65817310ad412ff5e7bbbe3d5f4ef465db9d Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Thu, 20 Nov 2025 17:55:24 -0800 Subject: [PATCH 2/2] fix --- .../src/main/kotlin/otel.spotless-conventions.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conventions/src/main/kotlin/otel.spotless-conventions.gradle.kts b/conventions/src/main/kotlin/otel.spotless-conventions.gradle.kts index c3a3beb1cf00..4a3340327d27 100644 --- a/conventions/src/main/kotlin/otel.spotless-conventions.gradle.kts +++ b/conventions/src/main/kotlin/otel.spotless-conventions.gradle.kts @@ -121,3 +121,8 @@ if (project == rootProject) { } } } + +// Disable configuration cache for spotlessGroovy task which is not compatible +tasks.matching { it.name.contains("spotlessGroovy") }.configureEach { + notCompatibleWithConfigurationCache("Spotless Groovy task references other Task instances which are not supported with configuration cache") +}