Skip to content

Commit 8d4cd28

Browse files
fix(deps): update dependency com.google.googlejavaformat:google-java-format to v1.28.0 (#2345)
* fix(deps): update dependency com.google.googlejavaformat:google-java-format to v1.28.0 * Updates --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Goooler <[email protected]>
1 parent a368d75 commit 8d4cd28

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1212
## [Unreleased]
1313
### Changes
1414
* **BREAKING** Bump the required Java to `17`. ([#2375](https://github.com/diffplug/spotless/issues/2375), [#2540](https://github.com/diffplug/spotless/pull/2540))
15+
* Bump default `google-java-format` version to latest `1.24.0` -> `1.28.0`. ([#2345](https://github.com/diffplug/spotless/pull/2345))
1516

1617
## [3.3.0] - 2025-07-20
1718
### Added

lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ dependencies {
9696
gherkinCompileOnly 'io.cucumber:gherkin-utils:9.2.0'
9797
gherkinCompileOnly 'org.slf4j:slf4j-api:2.0.17'
9898
// googleJavaFormat
99-
googleJavaFormatCompileOnly 'com.google.googlejavaformat:google-java-format:1.24.0'
99+
googleJavaFormatCompileOnly 'com.google.googlejavaformat:google-java-format:1.28.0'
100100
// gson
101101
gsonCompileOnly 'com.google.code.gson:gson:2.13.1'
102102
// jackson

lib/src/main/java/com/diffplug/spotless/java/GoogleJavaFormatStep.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ private static FormatterStep createInternally(String name, String groupArtifact,
121121
.addMin(11, "1.8") // we only support google-java-format >= 1.8 due to api changes
122122
.addMin(16, "1.10.0") // java 16 requires at least 1.10.0 due to jdk api changes in JavaTokenizer
123123
.addMin(21, "1.17.0") // java 21 requires at least 1.17.0 due to https://github.com/google/google-java-format/issues/898
124-
.add(11, "1.24.0"); // default version
124+
.add(17, "1.28.0"); // default version
125125

126126
public static String defaultGroupArtifact() {
127127
return MAVEN_COORDINATE;

plugin-gradle/CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
55
## [Unreleased]
66
### Changed
77
* **BREAKING** Bump the required Gradle to `7.3` and required Java to `17`. ([#2375](https://github.com/diffplug/spotless/issues/2375), [#2540](https://github.com/diffplug/spotless/pull/2540))
8+
* Bump default `google-java-format` version to latest `1.24.0` -> `1.28.0`. ([#2345](https://github.com/diffplug/spotless/pull/2345))
89

910
## [7.2.0] - 2025-07-20
1011
### Added

plugin-maven/CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
55
## [Unreleased]
66
### Changes
77
* **BREAKING** Bump the required Java to `17`. ([#2375](https://github.com/diffplug/spotless/issues/2375), [#2540](https://github.com/diffplug/spotless/pull/2540))
8+
* Bump default `google-java-format` version to latest `1.24.0` -> `1.28.0`. ([#2345](https://github.com/diffplug/spotless/pull/2345))
89

910
## [2.46.0] - 2025-07-20
1011
### Added

0 commit comments

Comments
 (0)