File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed
lib-extra/src/main/java/com/diffplug/spotless/extra/groovy Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
2020### Changes
2121* Bump default ` eslint ` version to latest ` 8.31.0 ` -> ` 8.45.0 ` ([ #1761 ] ( https://github.com/diffplug/spotless/pull/1761 ) )
2222* Bump default ` prettier ` version to latest (v2) ` 2.8.1 ` -> ` 2.8.8 ` . ([ #1760 ] ( https://github.com/diffplug/spotless/pull/1760 ) )
23+ * Bump default ` greclipse ` version to latest ` 4.27 ` -> ` 4.28 ` . ([ #1775 ] ( https://github.com/diffplug/spotless/pull/1775 ) )
2324
2425## [ 2.40.0] - 2023-07-17
2526### Added
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public final class GrEclipseFormatterStep {
3232 private GrEclipseFormatterStep () {}
3333
3434 private static final String NAME = "eclipse groovy formatter" ;
35- private static final Jvm .Support <String > JVM_SUPPORT = Jvm .<String > support (NAME ).add (11 , "4.26" ).add (17 , "4.27 " );
35+ private static final Jvm .Support <String > JVM_SUPPORT = Jvm .<String > support (NAME ).add (11 , "4.26" ).add (17 , "4.28 " );
3636
3737 public static String defaultVersion () {
3838 return JVM_SUPPORT .getRecommendedFormatterVersion ();
@@ -50,7 +50,9 @@ protected P2Model model(String version) {
5050 throw new IllegalArgumentException ("4.8 is the oldest version we support, this was " + version );
5151 }
5252 String greclipseVersion ;
53- if (eVersion >= 18 ) {
53+ if (eVersion >= 28 ) {
54+ greclipseVersion = "5." + (eVersion - 28 ) + ".0" ;
55+ } else if (eVersion >= 18 ) {
5456 greclipseVersion = "4." + (eVersion - 18 ) + ".0" ;
5557 } else {
5658 greclipseVersion = "3." + (eVersion - 8 ) + ".0" ;
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1515### Changes
1616* Bump default ` eslint ` version to latest ` 8.31.0 ` -> ` 8.45.0 ` ([ #1761 ] ( https://github.com/diffplug/spotless/pull/1761 ) )
1717* Bump default ` prettier ` version to latest (v2) ` 2.8.1 ` -> ` 2.8.8 ` . ([ #1760 ] ( https://github.com/diffplug/spotless/pull/1760 ) )
18+ * Bump default ` greclipse ` version to latest ` 4.27 ` -> ` 4.28 ` . ([ #1775 ] ( https://github.com/diffplug/spotless/pull/1775 ) )
1819
1920## [ 6.20.0] - 2023-07-17
2021### Added
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1212### Changes
1313* Bump default ` eslint ` version to latest ` 8.31.0 ` -> ` 8.45.0 ` ([ #1761 ] ( https://github.com/diffplug/spotless/pull/1761 ) )
1414* Bump default ` prettier ` version to latest (v2) ` 2.8.1 ` -> ` 2.8.8 ` . ([ #1760 ] ( https://github.com/diffplug/spotless/pull/1760 ) )
15+ * Bump default ` greclipse ` version to latest ` 4.27 ` -> ` 4.28 ` . ([ #1775 ] ( https://github.com/diffplug/spotless/pull/1775 ) )
1516
1617## [ 2.38.0] - 2023-07-17
1718### Added
You can’t perform that action at this time.
0 commit comments