Skip to content

Commit 9b2da35

Browse files
committed
Add mapping for jdt compiler
Fixes #157
1 parent c3f1b03 commit 9b2da35

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGES.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## [Unreleased]
44

5+
### Fixed
6+
- Fix ecj mapping in eclipseMavenCentral ([#158](https://github.com/diffplug/goomph/pull/158))
7+
58
## [3.32.1] - 2021-09-09
69

710
### Fixed

src/main/java/com/diffplug/gradle/eclipse/MavenCentralMapping.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ public static boolean isEclipseGroup(String group) {
5151

5252
/** Returns the MavenCentral groupId:artifactId appropriate for the given bundleId. */
5353
public static String groupIdArtifactId(String bundleId) {
54-
if (bundleId.startsWith(JDT)) {
54+
if ("org.eclipse.jdt.core.compiler.batch".equals(bundleId)) {
55+
return JDT + ":ecj";
56+
} else if (bundleId.startsWith(JDT)) {
5557
return JDT + ":" + bundleId;
5658
} else if (bundleId.startsWith(PDE)) {
5759
return PDE + ":" + bundleId;

0 commit comments

Comments
 (0)