diff --git a/gradle/plugins/common/src/main/kotlin/junitbuild.spotless-conventions.gradle.kts b/gradle/plugins/common/src/main/kotlin/junitbuild.spotless-conventions.gradle.kts index b0b9cfc9314d..362e883b2d83 100644 --- a/gradle/plugins/common/src/main/kotlin/junitbuild.spotless-conventions.gradle.kts +++ b/gradle/plugins/common/src/main/kotlin/junitbuild.spotless-conventions.gradle.kts @@ -48,3 +48,12 @@ spotless { } } } + +tasks { + named("spotlessDocumentation") { + outputs.doNotCacheIf("negative avoidance savings") { true } + } + named("spotlessMisc") { + outputs.doNotCacheIf("negative avoidance savings") { true } + } +}