-
Notifications
You must be signed in to change notification settings - Fork 27
Use spotless / palantirJavaFormat - 2.56.0 for all JDKs #477
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
Use spotless / palantirJavaFormat - 2.56.0 for all JDKs #477
Conversation
|
I don't think this is the way to go as it doesn't support Java 25 |
We don't have a Jave 25 code base yet ... but we never version of formater we will have different format depends on JDK ... |
|
@slachiewicz any other proposition? |
|
Sorry, no idea yet. It's about Java 25 at runtime, IE even now, try to build our Core Maven |
build ok |
|
`mvn -V spotless:check [..] ` |
|
so with this change will be the same .... so will be not worst |
|
when java-format will be fixed we will update in next time, for me there are two isses: |
|
Now we can disable spotless at all on JDK 25+ as workaround, but if we wish such I would like do it in separate PR |
kwin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense.
Spotless start using palantir-java-format 2.57.0 on Java 21 - on older jdks different versions are used. It causes a different code format depends on using JDK references: - diffplug/spotless#2447 - diffplug/spotless#2503 - palantir/palantir-java-format#1320 As issue - diffplug/spotless#2503 was closed, reverting spotless plugin to an older version is not a resolution.
13255c8 to
c0bd503
Compare
|
@slachiewicz - properties for versions added |
Spotless start using palantir-java-format 2.57.0 on Java 21 - on older jdks different versions are used.
It causes a different code format depends on using JDK
references:
As issue - diffplug/spotless#2503 was closed, reverting spotless plugin to an older version is not a resolution.