-
Notifications
You must be signed in to change notification settings - Fork 464
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
Groovy support is broken #1922
Comments
Can you create a minimum reproducer for the issue second? |
Dupe of #1658. |
@nedtwigg it is not the same. |
If GrEclipse published to a maven repository, we could use that. I don't think it will happen though. Previously, Spotless took responsibility for converting Eclipse to maven and publishing that. It was too much work, and it went stale. Those versions of Spotless are still available, search "Adopt Equo" and use the version before that. |
They don't? Argh... I was going to create a "RFE" which would have helped me see that, I will do it right now. // Edit: #1942 |
The more we cover by the formatter the better. That being said, support for groovy is broken. I hit diffplug/spotless#1922 when trying to use groovyGradle formatting.
The more we cover by the formatter the better. That being said, support for groovy is broken. I hit diffplug/spotless#1922 when trying to use groovyGradle formatting.
summary
Groovy support is broken due to two problems.
-X
will not show the URL:Instead, it should use maven resolver.
The example here: https://github.com/diffplug/spotless/tree/main/plugin-maven#groovy
It shows two parameters which do are not recognized.
Inserting them will result in a build error:
Maven version
3.9.6 and 4.0.0-alpha8
Does not really matter...
Spotless version
2.40.0 and 2.41.0
OS version
Mac 14.2 (not relevant))
SLES 12 Linux
SLES 15 Linux
Example configuration
See https://github.com/diffplug/spotless/tree/main/plugin-maven#groovy
Just work behind a proxy to see greclipse failing to download.
Leave the default configuration to see the error on the two options.
Stack traces
for No 2)
for No 1)
If you are submitting a bug, please include the following:
gradlew spotless[Apply/Check] --stacktrace
If you're just submitting a feature request or question, no need for the above.
The text was updated successfully, but these errors were encountered: