-
Notifications
You must be signed in to change notification settings - Fork 467
SpotlessPlugin fails with "s" #933
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
Comments
@MatanSabag Welcome to Spotless! I'm pretty sure that this is the part of the logs that indicates what your problem is:
Have you tried the suggestion of adding |
Out of curiosity, is there a reason why you're using version 1.7 of google-java-format specifically? Are you still on Java 8-10? If not, then I'd encourage you to try google-java-format 1.11.0. |
I tried adding
We still use Java 8, that's why we use google-java-format version 1.7. |
Hmm... How strange. Is your project open source, or would you be able to make and share a minimal, reproducible example that we could use to debug this? (Thank you for such a quick response, by the way!) |
(Thank you for quick action taking!) Unfortunately, my project is not open source. It is a relatively simple Gradle multi-project. I will try to create an example it may take several days. |
Cool. And no worries, take all the time you need. :) |
I think this is fixed in |
It still happens in 15.5.1 and in 15.6.0 |
This issue was the original, but #941 is the new place to track this. |
This ends up with a "Cannot add a configuration with name 'spotless1972418317' as a configuration with that name already exists." error. This doesn't happen with Spotless plugin 3.x.
gradlew clean build
The text was updated successfully, but these errors were encountered: