Skip to content

Commit 7f2d9e7

Browse files
committed
Added Eclipse-Groovy 4.21 formatter support.
1 parent 00ba553 commit 7f2d9e7

File tree

5 files changed

+27
-1
lines changed

5 files changed

+27
-1
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ This document is intended for Spotless developers.
1010
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`).
1111

1212
## [Unreleased]
13+
### Changed
14+
* Added support and bump Eclipse formatter default versions to `4.21` for `eclipse-groovy`. Change is only applied for JVM 11+.
1315

1416
## [2.19.1] - 2021-10-13
1517
### Fixed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private GrEclipseFormatterStep() {}
3434
private static final String FORMATTER_CLASS = "com.diffplug.spotless.extra.eclipse.groovy.GrEclipseFormatterStepImpl";
3535
private static final String FORMATTER_CLASS_OLD = "com.diffplug.gradle.spotless.groovy.eclipse.GrEclipseFormatterStepImpl";
3636
private static final String MAVEN_GROUP_ARTIFACT = "com.diffplug.spotless:spotless-eclipse-groovy";
37-
private static final Jvm.Support<String> JVM_SUPPORT = Jvm.<String> support(NAME).add(8, "4.19.0").add(11, "4.20.0");
37+
private static final Jvm.Support<String> JVM_SUPPORT = Jvm.<String> support(NAME).add(8, "4.19.0").add(11, "4.21.0");
3838
private static final String FORMATTER_METHOD = "format";
3939

4040
public static String defaultVersion() {
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Spotless formatter based on Groovy-Eclipse version 4.3.0 (see https://github.com/groovy/groovy-eclipse/releases)
2+
com.diffplug.spotless:spotless-eclipse-groovy:4.3.0
3+
com.diffplug.spotless:spotless-eclipse-base:3.5.0
4+
com.github.spotbugs:spotbugs-annotations:4.0.2
5+
com.google.code.findbugs:jsr305:3.0.2
6+
net.jcip:jcip-annotations:1.0
7+
org.eclipse.platform:org.eclipse.core.commands:3.10.100
8+
org.eclipse.platform:org.eclipse.core.contenttype:3.8.0
9+
org.eclipse.platform:org.eclipse.core.filesystem:1.9.100
10+
org.eclipse.platform:org.eclipse.core.jobs:3.12.0
11+
org.eclipse.platform:org.eclipse.core.resources:3.15.100
12+
org.eclipse.platform:org.eclipse.core.runtime:3.23.0
13+
org.eclipse.platform:org.eclipse.equinox.app:1.6.0
14+
org.eclipse.platform:org.eclipse.equinox.common:3.15.0
15+
org.eclipse.platform:org.eclipse.equinox.preferences:3.9.0
16+
org.eclipse.platform:org.eclipse.equinox.registry:3.11.0
17+
org.eclipse.platform:org.eclipse.jface.text:3.18.100
18+
org.eclipse.platform:org.eclipse.jface:3.23.0
19+
org.eclipse.platform:org.eclipse.osgi:3.17.0
20+
org.eclipse.platform:org.eclipse.text:3.12.0

plugin-gradle/CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `3.27.0`).
44

55
## [Unreleased]
6+
### Changed
7+
* Added support and bump Eclipse formatter default versions to `4.21` for `eclipse-groovy`. Change is only applied for JVM 11+.
68

79
## [5.17.0] - 2021-10-13
810
### Added

plugin-maven/CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`).
44

55
## [Unreleased]
6+
### Changed
7+
* Added support and bump Eclipse formatter default versions to `4.21` for `eclipse-groovy`. Change is only applied for JVM 11+.
68

79
## [2.17.2] - 2021-10-14
810
### Fixed

0 commit comments

Comments
 (0)