Skip to content

Commit aa4e658

Browse files
committed
fix
1 parent 1095bb5 commit aa4e658

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

conventions/src/main/kotlin/otel.spotless-conventions.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,8 @@ if (project == rootProject) {
121121
}
122122
}
123123
}
124+
125+
// Disable configuration cache for spotlessGroovy task which is not compatible
126+
tasks.matching { it.name.contains("spotlessGroovy") }.configureEach {
127+
notCompatibleWithConfigurationCache("Spotless Groovy task references other Task instances which are not supported with configuration cache")
128+
}

0 commit comments

Comments
 (0)