Spotless Gradle plugin breaks the clean
task when Gradle's configuration cache is enabled
#796
Labels
clean
task when Gradle's configuration cache is enabled
#796
Using the project at execution time is not allowed when Gradle's configuration cache is enabled.
The spotless plugin registers a
doLast
task action on theclean
task that accesses the project at execution time. The effectof this is to break using the
clean
task on all builds that have the spotless plugin applied when Gradle's configuration cache is enabled.Also see #644 which is about having full support of Gradle's configuration cache in the Spotless plugin. This issue is only about not preventing to use the
clean
tasks on builds that have the Spotless plugin applied.The text was updated successfully, but these errors were encountered: