Skip to content

Commit 0368773

Browse files
iemejiafvgh
authored andcommitted
Update eclipse to version 4.11.0 (fix #381) (#384)
1 parent 159770b commit 0368773

File tree

10 files changed

+32
-8
lines changed

10 files changed

+32
-8
lines changed

CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ You might be looking for:
88
### Version 1.21.0-SNAPSHOT - TBD (javadoc [lib](https://diffplug.github.io/spotless/javadoc/spotless-lib/snapshot/) [lib-extra](https://diffplug.github.io/spotless/javadoc/spotless-lib-extra/snapshot/), [snapshot repo](https://oss.sonatype.org/content/repositories/snapshots/com/diffplug/spotless/))
99

1010
* We now use a remote build cache to speed up CI builds. Reduced build time from ~13 minutes to as low as ~3 minutes, dependending on how deep the change is ([#380](https://github.com/diffplug/spotless/pull/380)).
11+
* Updated default eclipse-jdt from 4.10.0 to 4.11.0 ([#384](https://github.com/diffplug/spotless/pull/384))
1112

1213
### Version 1.20.0 - March 11th 2018 (javadoc [lib](https://diffplug.github.io/spotless/javadoc/spotless-lib/1.20.0/) [lib-extra](https://diffplug.github.io/spotless/javadoc/spotless-lib-extra/1.20.0/), artifact [lib]([jcenter](https://bintray.com/diffplug/opensource/spotless-lib), [lib-extra]([jcenter](https://bintray.com/diffplug/opensource/spotless-lib-extra)))
1314

lib-extra/src/main/java/com/diffplug/spotless/extra/java/EclipseJdtFormatterStep.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ private EclipseJdtFormatterStep() {}
3232
private static final String FORMATTER_CLASS_OLD = "com.diffplug.gradle.spotless.java.eclipse.EclipseFormatterStepImpl";
3333
private static final String FORMATTER_CLASS = "com.diffplug.spotless.extra.eclipse.java.EclipseJdtFormatterStepImpl";
3434
private static final String MAVEN_GROUP_ARTIFACT = "com.diffplug.spotless:spotless-eclipse-jdt";
35-
private static final String DEFAULT_VERSION = "4.10.0";
35+
private static final String DEFAULT_VERSION = "4.11.0";
3636
private static final String FORMATTER_METHOD = "format";
3737

3838
public static String defaultVersion() {

lib-extra/src/main/resources/com/diffplug/spotless/extra/eclipse_jdt_formatter/v4.10.0.lockfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Spotless formatter based on JDT version 4.9.0 (see https://projects.eclipse.org/projects/eclipse.jdt)
2-
# Compare tag in M2 pom with https://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R4_9_maintenance to determine core version.
1+
# Spotless formatter based on JDT version 4.10.0 (see https://projects.eclipse.org/projects/eclipse.jdt)
2+
# Compare tag in M2 pom with https://git.eclipse.org/c/jdt/eclipse.jdt.core.git/tag/?h=R4_10 to determine core version.
33
com.diffplug.spotless:spotless-eclipse-jdt:4.8.0
44
com.diffplug.spotless:spotless-eclipse-base:3.0.0
55
com.google.code.findbugs:annotations:3.0.0
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Spotless formatter based on JDT version 4.11.0 (see https://projects.eclipse.org/projects/eclipse.jdt)
2+
# Compare tag in M2 pom with https://git.eclipse.org/c/jdt/eclipse.jdt.core.git/tag/?h=R4_11 to determine core version.
3+
com.diffplug.spotless:spotless-eclipse-jdt:4.8.0
4+
com.diffplug.spotless:spotless-eclipse-base:3.0.0
5+
com.google.code.findbugs:annotations:3.0.0
6+
com.google.code.findbugs:jsr305:3.0.0
7+
org.eclipse.jdt:org.eclipse.jdt.core:3.17.0
8+
org.eclipse.platform:org.eclipse.core.commands:3.9.100
9+
org.eclipse.platform:org.eclipse.core.contenttype:3.7.0
10+
org.eclipse.platform:org.eclipse.core.jobs:3.10.0
11+
org.eclipse.platform:org.eclipse.core.resources:3.13.0
12+
org.eclipse.platform:org.eclipse.core.runtime:3.14.0
13+
org.eclipse.platform:org.eclipse.equinox.app:1.3.500
14+
org.eclipse.platform:org.eclipse.equinox.common:3.10.0
15+
org.eclipse.platform:org.eclipse.equinox.preferences:3.7.100
16+
org.eclipse.platform:org.eclipse.equinox.registry:3.8.0
17+
org.eclipse.platform:org.eclipse.osgi:3.13.0
18+
org.eclipse.platform:org.eclipse.text:3.6.300
19+

lib-extra/src/main/resources/com/diffplug/spotless/extra/eclipse_jdt_formatter/v4.8.0.lockfile

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Spotless formatter based on JDT version 4.8.0 (see https://projects.eclipse.org/projects/eclipse.jdt)
2+
# Compare tag in M2 pom with https://git.eclipse.org/c/jdt/eclipse.jdt.core.git/tag/?h=R4_8 to determine core version.
23
com.diffplug.spotless:spotless-eclipse-jdt:4.8.0
34
com.diffplug.spotless:spotless-eclipse-base:3.0.0
45
com.google.code.findbugs:annotations:3.0.0

lib-extra/src/main/resources/com/diffplug/spotless/extra/eclipse_jdt_formatter/v4.9.0.lockfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Spotless formatter based on JDT version 4.9.0 (see https://projects.eclipse.org/projects/eclipse.jdt)
2-
# Compare tag in M2 pom with https://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R4_9_maintenance to determine core version.
2+
# Compare tag in M2 pom with https://git.eclipse.org/c/jdt/eclipse.jdt.core.git/tag/?h=R4_9 to determine core version.
33
com.diffplug.spotless:spotless-eclipse-jdt:4.8.0
44
com.diffplug.spotless:spotless-eclipse-base:3.0.0
55
com.google.code.findbugs:annotations:3.0.0

lib-extra/src/test/java/com/diffplug/spotless/extra/java/EclipseJdtFormatterStepTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ public class EclipseJdtFormatterStepTest extends EclipseCommonTests {
2424

2525
@Override
2626
protected String[] getSupportedVersions() {
27-
return new String[]{"4.6.1", "4.6.2", "4.6.3", "4.7.0", "4.7.1", "4.7.2", "4.7.3a", "4.8.0", "4.9.0", "4.10.0"};
27+
return new String[]{"4.6.1", "4.6.2", "4.6.3", "4.7.0", "4.7.1", "4.7.2", "4.7.3a", "4.8.0", "4.9.0", "4.10.0",
28+
"4.11.0"};
2829
}
2930

3031
@Override

plugin-gradle/CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* Updated default eclipse-wtp from 4.7.3b to 4.8.0 ([#382](https://github.com/diffplug/spotless/pull/382)).
55
* Updated default eclipse-groovy from 4.8.1 to 4.10.0 ([#382](https://github.com/diffplug/spotless/pull/382)).
66

7+
* Updated default eclipse-jdt from 4.10.0 to 4.11.0 ([#384](https://github.com/diffplug/spotless/pull/384))
8+
79
### Version 3.20.0 - March 11th 2019 ([javadoc](https://diffplug.github.io/spotless/javadoc/spotless-plugin-gradle/3.20.0/), [jcenter](https://bintray.com/diffplug/opensource/spotless-plugin-gradle/3.20.0))
810

911
* Made npm package versions of [`prettier`](https://prettier.io/) and [`tsfmt`](https://github.com/vvakame/typescript-formatter) (and its internal packages) configurable. ([#363](https://github.com/diffplug/spotless/pull/363))

plugin-maven/CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* Updated default eclipse-wtp from 4.7.3b to 4.8.0 ([#382](https://github.com/diffplug/spotless/pull/382)).
55
* Updated default eclipse-groovy from 4.8.1 to 4.10.0 ([#382](https://github.com/diffplug/spotless/pull/382)).
66

7+
* Updated default eclipse-jdt from 4.10.0 to 4.11.0 ([#384](https://github.com/diffplug/spotless/pull/384))
8+
79
### Version 1.20.0 - March 14th 2019 ([javadoc](https://diffplug.github.io/spotless/javadoc/spotless-maven-plugin/1.20.0/), [jcenter](https://bintray.com/diffplug/opensource/spotless-maven-plugin/1.20.0))
810

911
* Updated default eclipse-wtp from 4.7.3a to 4.7.3b ([#371](https://github.com/diffplug/spotless/pull/371)).

settings.gradle

+1-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ if (System.env['CI'] != null) {
2020
password = pass
2121
}
2222
} else {
23-
credentials {
24-
username = 'anonymous'
25-
}
23+
credentials { username = 'anonymous' }
2624
}
2725
}
2826
}

0 commit comments

Comments
 (0)