Skip to content

Commit 402f5d9

Browse files
authored
Update dependency com.google.googlejavaformat:google-java-format to v1.24.0 (#2294)
2 parents c326efd + bebeed3 commit 402f5d9

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1717
* Support configuring the Equo P2 cache. ([#2238](https://github.com/diffplug/spotless/pull/2238))
1818
* Add explicit support for JSONC / CSS via biome, via the file extensions `.css` and `.jsonc`.
1919
([#2259](https://github.com/diffplug/spotless/pull/2259))
20-
* Bump default `jackson` version to latest `2.17.2` -> `2.18.0`. ([#2279](https://github.com/diffplug/spotless/pull/2279))
2120
* Bump default `buf` version to latest `1.24.0` -> `1.44.0`. ([#2291](https://github.com/diffplug/spotless/pull/2291))
21+
* Bump default `google-java-format` version to latest `1.23.0` -> `1.24.0`. ([#2294](https://github.com/diffplug/spotless/pull/2294))
22+
* Bump default `jackson` version to latest `2.17.2` -> `2.18.0`. ([#2279](https://github.com/diffplug/spotless/pull/2279))
2223
### Fixed
2324
* Java import order, ignore duplicate group entries. ([#2293](https://github.com/diffplug/spotless/pull/2293))
2425

lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ dependencies {
9393
gherkinCompileOnly 'io.cucumber:gherkin-utils:9.0.0'
9494
gherkinCompileOnly 'org.slf4j:slf4j-api:2.0.16'
9595
// googleJavaFormat
96-
googleJavaFormatCompileOnly 'com.google.googlejavaformat:google-java-format:1.23.0'
96+
googleJavaFormatCompileOnly 'com.google.googlejavaformat:google-java-format:1.24.0'
9797
// gson
9898
gsonCompileOnly 'com.google.code.gson:gson:2.11.0'
9999
// 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 groupArtifact, String versi
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.23.0"); // default version
124+
.add(11, "1.24.0"); // default version
125125

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

plugin-gradle/CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1111
formatting step. Biome supports formatting CSS as of 1.8.0 (experimental, opt-in) and 1.9.0 (stable).
1212
([#2259](https://github.com/diffplug/spotless/pull/2259))
1313
### Changed
14-
* Bump default `jackson` version to latest `2.17.2` -> `2.18.0`. ([#2279](https://github.com/diffplug/spotless/pull/2279))
1514
* Bump default `buf` version to latest `1.24.0` -> `1.44.0`. ([#2291](https://github.com/diffplug/spotless/pull/2291))
15+
* Bump default `google-java-format` version to latest `1.23.0` -> `1.24.0`. ([#2294](https://github.com/diffplug/spotless/pull/2294))
16+
* Bump default `jackson` version to latest `2.17.2` -> `2.18.0`. ([#2279](https://github.com/diffplug/spotless/pull/2279))
1617
### Fixed
1718
* Java import order, ignore duplicate group entries. ([#2293](https://github.com/diffplug/spotless/pull/2293))
1819

plugin-maven/CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1111
* Add explicit support for CSS via biome. Formatting CSS via biome was already supported as a general
1212
formatting step. Biome supports formatting CSS as of 1.8.0 (experimental, opt-in) and 1.9.0 (stable).
1313
([#2259](https://github.com/diffplug/spotless/pull/2259))
14+
* Bump default `google-java-format` version to latest `1.23.0` -> `1.24.0`. ([#2294](https://github.com/diffplug/spotless/pull/2294))
1415
* Bump default `jackson` version to latest `2.17.2` -> `2.18.0`. ([#2279](https://github.com/diffplug/spotless/pull/2279))
1516
### Fixed
1617
* Java import order, ignore duplicate group entries. ([#2293](https://github.com/diffplug/spotless/pull/2293))

0 commit comments

Comments
 (0)