Skip to content

Commit 3987f4e

Browse files
committed
Update default Greclipse version
1 parent 6bccca1 commit 3987f4e

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1717
### Changes
1818
- Bump default `cleanthat` version `2.24` -> `2.25`. ([#2903](https://github.com/diffplug/spotless/pull/2903))
1919
- Bump default `eclipse-jdt` version from `4.35` to `4.39`. ([#2912](https://github.com/diffplug/spotless/pull/2912))
20+
* Bump default `greclipse` version to latest `4.35` -> `4.39`. ([#2924](https://github.com/diffplug/spotless/pull/2924))
2021

2122
## [4.5.0] - 2026-03-18
2223
### Added

lib-extra/src/main/java/com/diffplug/spotless/extra/groovy/GrEclipseFormatterStep.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public final class GrEclipseFormatterStep {
3434
private GrEclipseFormatterStep() {}
3535

3636
private static final String NAME = "eclipse groovy formatter";
37-
private static final Jvm.Support<String> JVM_SUPPORT = Jvm.<String> support(NAME).add(17, "4.35");
37+
private static final Jvm.Support<String> JVM_SUPPORT = Jvm.<String> support(NAME).add(17, "4.38").add(21, "4.39");
3838

3939
public static String defaultVersion() {
4040
return JVM_SUPPORT.getRecommendedFormatterVersion();
@@ -52,7 +52,9 @@ protected P2Model model(String version) {
5252
throw new IllegalArgumentException("4.8 is the oldest version we support, this was " + version);
5353
}
5454
String greclipseVersion;
55-
if (eVersion >= 28) {
55+
if (eVersion >= 38) {
56+
greclipseVersion = "6." + (eVersion - 38) + ".0";
57+
} else if (eVersion >= 28) {
5658
greclipseVersion = "5." + (eVersion - 28) + ".0";
5759
} else if (eVersion >= 18) {
5860
greclipseVersion = "4." + (eVersion - 18) + ".0";

plugin-gradle/CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1212
### Changes
1313
- Bump default `cleanthat` version `2.24` -> `2.25`. ([#2903](https://github.com/diffplug/spotless/pull/2903))
1414
- Bump default `eclipse-jdt` version from `4.35` to `4.39`. ([#2912](https://github.com/diffplug/spotless/pull/2912))
15+
* Bump default `greclipse` version to latest `4.35` -> `4.39`. ([#2924](https://github.com/diffplug/spotless/pull/2924))
1516

1617
## [8.4.0] - 2026-03-18
1718
### Added

plugin-maven/CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1010
### Changes
1111
- Bump default `cleanthat` version `2.24` -> `2.25`. ([#2903](https://github.com/diffplug/spotless/pull/2903))
1212
- Bump default `eclipse-jdt` version from `4.35` to `4.39`. ([#2912](https://github.com/diffplug/spotless/pull/2912))
13+
* Bump default `greclipse` version to latest `4.35` -> `4.39`. ([#2924](https://github.com/diffplug/spotless/pull/2924))
1314

1415
## [3.4.0] - 2026-03-18
1516
### Added

0 commit comments

Comments
 (0)