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

Old version of spotless java creating compilation issues #2828

Open
daberkow opened this issue Jul 11, 2024 · 0 comments
Open

Old version of spotless java creating compilation issues #2828

daberkow opened this issue Jul 11, 2024 · 0 comments

Comments

@daberkow
Copy link

What happened?

With

com.diffplug.spotless:spotless-plugin-gradle = 6.6.0
we have spotless java kept at 6.6.0, diffplug/spotless#834 (comment) says we need to bump to at least 6.7.1 to avoid a bug I am seeing where the following stack trace occurs (I copied the stack trace from the link before).

Step 'removeUnusedImports' found problem in 'functional-tests/src/main/java/com/comp/atlas/oyo/upgrade/configuration/TesterConfiguration.java':

null

java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)

What did you want to happen?

I see a note that "Newer spotless versions have issues resolving dependencies at configuration time", but latest is 6.24.0, and we are on a build from 2022.

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

No branches or pull requests

1 participant