From aaf7a12d8004a8b6e51a713ce5b0a42c3e78809c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89amonn=20McManus?= Date: Mon, 27 Jan 2025 14:40:14 -0800 Subject: [PATCH] [maven-release-plugin] prepare release gson-parent-2.12.0 --- README.md | 4 ++-- UserGuide.md | 4 ++-- extras/pom.xml | 4 ++-- gson/pom.xml | 4 ++-- gson/src/main/java/com/google/gson/stream/JsonReader.java | 4 ++-- metrics/pom.xml | 2 +- pom.xml | 6 +++--- proto/pom.xml | 4 ++-- .../java/com/google/gson/protobuf/ProtoTypeAdapter.java | 2 +- test-graal-native-image/pom.xml | 2 +- test-jpms/pom.xml | 2 +- test-shrinker/pom.xml | 2 +- 12 files changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index fc90176584..6ee0a79561 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ There are a few open-source projects that can convert Java objects to JSON. Howe Gradle: ```gradle dependencies { - implementation 'com.google.code.gson:gson:2.11.0' + implementation 'com.google.code.gson:gson:2.12.0' } ``` @@ -33,7 +33,7 @@ Maven: com.google.code.gson gson - 2.11.0 + 2.12.0 ``` diff --git a/UserGuide.md b/UserGuide.md index 0559968d9b..395d4887da 100644 --- a/UserGuide.md +++ b/UserGuide.md @@ -76,7 +76,7 @@ The Gson instance does not maintain any state while invoking JSON operations. So ```gradle dependencies { - implementation 'com.google.code.gson:gson:2.11.0' + implementation 'com.google.code.gson:gson:2.12.0' } ``` @@ -90,7 +90,7 @@ To use Gson with Maven2/3, you can use the Gson version available in Maven Centr com.google.code.gson gson - 2.11.0 + 2.12.0 compile diff --git a/extras/pom.xml b/extras/pom.xml index 5fb9df63ac..d2c6833d36 100644 --- a/extras/pom.xml +++ b/extras/pom.xml @@ -19,7 +19,7 @@ com.google.code.gson gson-parent - 2.11.1-SNAPSHOT + 2.12.0 gson-extras @@ -30,7 +30,7 @@ - 2024-05-19T18:54:10Z + 2025-01-27T22:39:27Z true diff --git a/gson/pom.xml b/gson/pom.xml index 9cacb0ad3f..cfca6a493c 100644 --- a/gson/pom.xml +++ b/gson/pom.xml @@ -20,7 +20,7 @@ com.google.code.gson gson-parent - 2.11.1-SNAPSHOT + 2.12.0 gson @@ -36,7 +36,7 @@ - 2024-05-19T18:54:10Z + 2025-01-27T22:39:27Z **/Java17* diff --git a/gson/src/main/java/com/google/gson/stream/JsonReader.java b/gson/src/main/java/com/google/gson/stream/JsonReader.java index 30876109a5..bfd82db358 100644 --- a/gson/src/main/java/com/google/gson/stream/JsonReader.java +++ b/gson/src/main/java/com/google/gson/stream/JsonReader.java @@ -431,7 +431,7 @@ public final Strictness getStrictness() { *

The default nesting limit is {@value #DEFAULT_NESTING_LIMIT}. * * @throws IllegalArgumentException if the nesting limit is negative. - * @since $next-version$ + * @since 2.12.0 * @see #getNestingLimit() */ public final void setNestingLimit(int limit) { @@ -444,7 +444,7 @@ public final void setNestingLimit(int limit) { /** * Returns the nesting limit of this reader. * - * @since $next-version$ + * @since 2.12.0 * @see #setNestingLimit(int) */ public final int getNestingLimit() { diff --git a/metrics/pom.xml b/metrics/pom.xml index 88456e68d9..354487a8e2 100644 --- a/metrics/pom.xml +++ b/metrics/pom.xml @@ -19,7 +19,7 @@ com.google.code.gson gson-parent - 2.11.1-SNAPSHOT + 2.12.0 gson-metrics diff --git a/pom.xml b/pom.xml index 1a49e186de..12f978f500 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ com.google.code.gson gson-parent - 2.11.1-SNAPSHOT + 2.12.0 pom Gson Parent @@ -43,7 +43,7 @@ - 2024-05-19T18:54:10Z + 2025-01-27T22:39:27Z @@ -58,7 +58,7 @@ https://github.com/google/gson/ scm:git:https://github.com/google/gson.git scm:git:git@github.com:google/gson.git - HEAD + gson-parent-2.12.0 diff --git a/proto/pom.xml b/proto/pom.xml index 1b7910e29b..3a00a3f4c4 100644 --- a/proto/pom.xml +++ b/proto/pom.xml @@ -19,7 +19,7 @@ com.google.code.gson gson-parent - 2.11.1-SNAPSHOT + 2.12.0 proto @@ -29,7 +29,7 @@ - 2024-05-19T18:54:10Z + 2025-01-27T22:39:27Z 4.29.2 diff --git a/proto/src/main/java/com/google/gson/protobuf/ProtoTypeAdapter.java b/proto/src/main/java/com/google/gson/protobuf/ProtoTypeAdapter.java index c18d1cee0a..1ff74574e6 100644 --- a/proto/src/main/java/com/google/gson/protobuf/ProtoTypeAdapter.java +++ b/proto/src/main/java/com/google/gson/protobuf/ProtoTypeAdapter.java @@ -194,7 +194,7 @@ public Builder addSerializedEnumValueExtension( * ...will be serialized as '{@code bar}' if {@code shouldUseJsonNameFieldOption} is set to * {@code true} and the '{@code serialized_name}' annotation is added to the adapter. * - * @since $next-version$ + * @since 2.12.0 */ @CanIgnoreReturnValue public Builder setShouldUseJsonNameFieldOption(boolean shouldUseJsonNameFieldOption) { diff --git a/test-graal-native-image/pom.xml b/test-graal-native-image/pom.xml index 691b2ab1ef..d6d45cdede 100644 --- a/test-graal-native-image/pom.xml +++ b/test-graal-native-image/pom.xml @@ -19,7 +19,7 @@ com.google.code.gson gson-parent - 2.11.1-SNAPSHOT + 2.12.0 test-graal-native-image Test: GraalVM Native Image diff --git a/test-jpms/pom.xml b/test-jpms/pom.xml index 06239433c7..294f87734b 100644 --- a/test-jpms/pom.xml +++ b/test-jpms/pom.xml @@ -19,7 +19,7 @@ com.google.code.gson gson-parent - 2.11.1-SNAPSHOT + 2.12.0 test-jpms Test: Java Platform Module System (JPMS) diff --git a/test-shrinker/pom.xml b/test-shrinker/pom.xml index e64812cdcc..f8d4c63bf3 100644 --- a/test-shrinker/pom.xml +++ b/test-shrinker/pom.xml @@ -20,7 +20,7 @@ com.google.code.gson gson-parent - 2.11.1-SNAPSHOT + 2.12.0 test-shrinker Test: Code shrinking (ProGuard / R8)