Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotless Gradle plugin breaks the clean task when Gradle's configuration cache is enabled #796

Closed
eskatos opened this issue Feb 11, 2021 · 2 comments
Labels

Comments

@eskatos
Copy link
Contributor

eskatos commented Feb 11, 2021

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 the clean task that accesses the project at execution time. The effect
of 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.

@nedtwigg
Copy link
Member

Thanks for the issue and PR! Fixed in 5.10.1.

@eskatos
Copy link
Contributor Author

eskatos commented Feb 11, 2021

Thank you for the quick turnaround!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants