From d6141b468a0a146e00735ce1e4460f361606fd91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Fri, 15 May 2026 18:07:42 +0200 Subject: [PATCH] build(gradle): Workaround a Gradle configuration cache failure with a Groovy transitive dependency See https://github.com/GradleUp/tapmoc/issues/100 --- compat/compat-gradle/build.gradle.kts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/compat/compat-gradle/build.gradle.kts b/compat/compat-gradle/build.gradle.kts index fb7a75b..8f13bd8 100644 --- a/compat/compat-gradle/build.gradle.kts +++ b/compat/compat-gradle/build.gradle.kts @@ -4,6 +4,14 @@ plugins { alias(libs.plugins.testBalloon) } +// groovy-all 2.5+ is POM-only (no JAR). gradle-test-kit declares it as a runtime POM dep, +// which breaks configuration cache resolution when tapmoc resolves JARs eagerly. +// Individual groovy modules are already present transitively, so excluding the BOM is safe. +// See https://github.com/GradleUp/tapmoc/issues/100 +configurations.all { + exclude(group = "org.codehaus.groovy", module = "groovy-all") +} + kotlin { jvm() -- 2.51.2