Skip to content

Commit c0117b1

Browse files
renovate[bot]jochenberger
authored andcommitted
chore(deps): update plugin com.diffplug.spotless to v7.0.3 (#2463)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 0ca99e5 commit c0117b1

File tree

6 files changed

+12
-4
lines changed

6 files changed

+12
-4
lines changed

CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1515
### Changed
1616
* Use palantir-java-format 2.57.0 on Java 21. ([#2447](https://github.com/diffplug/spotless/pull/2447))
1717
* Re-try `npm install` with `--prefer-online` after `ERESOLVE` error. ([#2448](https://github.com/diffplug/spotless/pull/2448))
18+
* Bump default `eclipse` version to latest `4.34` -> `4.35`. ([#2458](https://github.com/diffplug/spotless/pull/2458))
19+
* Bump default `greclipse` version to latest `4.32` -> `4.35`. ([#2458](https://github.com/diffplug/spotless/pull/2458))
1820

1921
## [3.1.0] - 2025-02-20
2022
### Added

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2024 DiffPlug
2+
* Copyright 2016-2025 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -33,7 +33,7 @@ public final class GrEclipseFormatterStep {
3333
private GrEclipseFormatterStep() {}
3434

3535
private static final String NAME = "eclipse groovy formatter";
36-
private static final Jvm.Support<String> JVM_SUPPORT = Jvm.<String> support(NAME).add(11, "4.26").add(17, "4.32");
36+
private static final Jvm.Support<String> JVM_SUPPORT = Jvm.<String> support(NAME).add(11, "4.26").add(17, "4.35");
3737

3838
public static String defaultVersion() {
3939
return JVM_SUPPORT.getRecommendedFormatterVersion();
@@ -69,6 +69,8 @@ protected P2Model model(String version) {
6969
model.addFilterAndValidate("no-debug", filter -> {
7070
filter.exclude("org.eclipse.jdt.debug");
7171
});
72+
// work around https://github.com/groovy/groovy-eclipse/issues/1617
73+
model.useMavenCentral = false;
7274
return model;
7375
}
7476

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public final class EclipseJdtFormatterStep {
3434
private EclipseJdtFormatterStep() {}
3535

3636
private static final String NAME = "eclipse jdt formatter";
37-
private static final Jvm.Support<String> JVM_SUPPORT = Jvm.<String> support(NAME).add(11, "4.26").add(17, "4.34");
37+
private static final Jvm.Support<String> JVM_SUPPORT = Jvm.<String> support(NAME).add(11, "4.26").add(17, "4.35");
3838

3939
public static String defaultVersion() {
4040
return JVM_SUPPORT.getRecommendedFormatterVersion();

plugin-gradle/CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
99
* Use palantir-java-format 2.57.0 on Java 21. ([#2447](https://github.com/diffplug/spotless/pull/2447))
1010
* Re-try `npm install` with `--prefer-online` after `ERESOLVE` error. ([#2448](https://github.com/diffplug/spotless/pull/2448))
1111
* Apply Gradle's strict plugin types validation to the Spotless plugin. ([#2454](https://github.com/diffplug/spotless/pull/2454))
12+
* Bump default `eclipse` version to latest `4.34` -> `4.35`. ([#2458](https://github.com/diffplug/spotless/pull/2458))
13+
* Bump default `greclipse` version to latest `4.32` -> `4.35`. ([#2458](https://github.com/diffplug/spotless/pull/2458))
1214

1315
## [7.0.2] - 2025-01-14
1416
### Fixed

plugin-maven/CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
88
### Changed
99
* Use palantir-java-format 2.57.0 on Java 21. ([#2447](https://github.com/diffplug/spotless/pull/2447))
1010
* Re-try `npm install` with `--prefer-online` after `ERESOLVE` error. ([#2448](https://github.com/diffplug/spotless/pull/2448))
11+
* Bump default `eclipse` version to latest `4.34` -> `4.35`. ([#2458](https://github.com/diffplug/spotless/pull/2458))
12+
* Bump default `greclipse` version to latest `4.32` -> `4.35`. ([#2458](https://github.com/diffplug/spotless/pull/2458))
1113

1214
## [2.44.3] - 2025-02-20
1315
* Support for `clang-format` ([#2406](https://github.com/diffplug/spotless/pull/2406))

settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pluginManagement {
66
}
77

88
plugins {
9-
id 'com.diffplug.spotless' version '7.0.2' apply false
9+
id 'com.diffplug.spotless' version '7.0.3' apply false
1010
// https://plugins.gradle.org/plugin/com.gradle.plugin-publish
1111
id 'com.gradle.plugin-publish' version '1.3.1' apply false
1212
// https://github.com/gradle-nexus/publish-plugin/releases

0 commit comments

Comments
 (0)