Skip to content

Commit f65f0bf

Browse files
fix(deps): update dependency com.google.code.gson:gson to v2.13.1 (#2414)
* fix(deps): update dependency com.google.code.gson:gson to v2.13.1 * Updates --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Goooler <[email protected]>
1 parent a8b5172 commit f65f0bf

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1111

1212
## [Unreleased]
1313

14+
## Changed
15+
* Bump default `gson` version to latest `2.11.0` -> `2.13.1`. ([#2414](https://github.com/diffplug/spotless/pull/2414))
16+
1417
## [3.2.0] - 2025-07-07
1518
### Added
1619
* Support for `idea` ([#2020](https://github.com/diffplug/spotless/pull/2020), [#2535](https://github.com/diffplug/spotless/pull/2535))

lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ dependencies {
9696
// googleJavaFormat
9797
googleJavaFormatCompileOnly 'com.google.googlejavaformat:google-java-format:1.24.0'
9898
// gson
99-
gsonCompileOnly 'com.google.code.gson:gson:2.11.0'
99+
gsonCompileOnly 'com.google.code.gson:gson:2.13.1'
100100
// jackson
101101
String VER_JACKSON='2.18.1'
102102
jacksonCompileOnly "com.fasterxml.jackson.core:jackson-databind:$VER_JACKSON"

lib/src/main/java/com/diffplug/spotless/json/gson/GsonStep.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2022-2024 DiffPlug
2+
* Copyright 2022-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.
@@ -30,7 +30,7 @@ public class GsonStep implements Serializable {
3030
private static final String MAVEN_COORDINATES = "com.google.code.gson:gson";
3131
private static final String INCOMPATIBLE_ERROR_MESSAGE = "There was a problem interacting with Gson; maybe you set an incompatible version?";
3232
public static final String NAME = "gson";
33-
public static final String DEFAULT_VERSION = "2.11.0";
33+
public static final String DEFAULT_VERSION = "2.13.1";
3434

3535
private final JarState.Promised jarState;
3636
private final GsonConfig gsonConfig;

plugin-gradle/CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
44

55
## [Unreleased]
66

7+
## Changed
8+
* Bump default `gson` version to latest `2.11.0` -> `2.13.1`. ([#2414](https://github.com/diffplug/spotless/pull/2414))
9+
710
## [7.1.0] - 2025-07-07
811
### Added
912
* Support for `idea` ([#2020](https://github.com/diffplug/spotless/pull/2020), [#2535](https://github.com/diffplug/spotless/pull/2535))

plugin-maven/CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
44

55
## [Unreleased]
66

7+
## Changed
8+
* Bump default `gson` version to latest `2.11.0` -> `2.13.1`. ([#2414](https://github.com/diffplug/spotless/pull/2414))
9+
710
## [2.45.0] - 2025-07-07
811
### Added
912
* Support for `idea` ([#2020](https://github.com/diffplug/spotless/pull/2020), [#2535](https://github.com/diffplug/spotless/pull/2535))

0 commit comments

Comments
 (0)