Skip to content

Commit dae525d

Browse files
committed
Disable caching of some Spotless tasks due to negative avoidance savings
1 parent c63d118 commit dae525d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

gradle/plugins/common/src/main/kotlin/junitbuild.spotless-conventions.gradle.kts

+9
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,12 @@ spotless {
4848
}
4949
}
5050
}
51+
52+
tasks {
53+
named("spotlessDocumentation") {
54+
outputs.doNotCacheIf("negative avoidance savings") { true }
55+
}
56+
named("spotlessMisc") {
57+
outputs.doNotCacheIf("negative avoidance savings") { true }
58+
}
59+
}

0 commit comments

Comments
 (0)