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 |
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.