You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Get rid of JVM specific default palantir formatter version #2685
the default version of palantir is determined based on the current Java version.
That is not necessary as latest spotless requires Java 17 and palantir-java-format (even in the newest version) is runnable on Java 11+. For details refer to #2451 (comment).
So it should be safe to pick 2.80.0 for all Java versions right now. This solves issues like #2625 or #2503 at least for palantir.
Activity
kwin commentedon Oct 15, 2025
@nedtwigg Any idea why 2.74.0 was only deemed compatible with Java 21+ (
spotless/lib/src/main/java/com/diffplug/spotless/java/PalantirJavaFormatStep.java
Line 38 in 036c0b0
nedtwigg commentedon Oct 15, 2025
i'm not sure of the history here, happy to merge something that does
.add(8, "1.1.0").add(11, "2.80.0")kwin commentedon Oct 15, 2025
Why do you think you need something for java 8 given that spotless requires 17?
nedtwigg commentedon Oct 15, 2025
Ah, good point! I suppose we can remove it entirely.
Get rid of Java-specific default Palantir version
Get rid of Java-specific default Palantir version
Get rid of Java-specific default Palantir version (#2686 fixes #2685)