Skip to content

Commit aaf7a12

Browse files
committed
[maven-release-plugin] prepare release gson-parent-2.12.0
1 parent a2b1c3c commit aaf7a12

File tree

12 files changed

+20
-20
lines changed

12 files changed

+20
-20
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ There are a few open-source projects that can convert Java objects to JSON. Howe
2424
Gradle:
2525
```gradle
2626
dependencies {
27-
implementation 'com.google.code.gson:gson:2.11.0'
27+
implementation 'com.google.code.gson:gson:2.12.0'
2828
}
2929
```
3030

@@ -33,7 +33,7 @@ Maven:
3333
<dependency>
3434
<groupId>com.google.code.gson</groupId>
3535
<artifactId>gson</artifactId>
36-
<version>2.11.0</version>
36+
<version>2.12.0</version>
3737
</dependency>
3838
```
3939

UserGuide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ The Gson instance does not maintain any state while invoking JSON operations. So
7676

7777
```gradle
7878
dependencies {
79-
implementation 'com.google.code.gson:gson:2.11.0'
79+
implementation 'com.google.code.gson:gson:2.12.0'
8080
}
8181
```
8282

@@ -90,7 +90,7 @@ To use Gson with Maven2/3, you can use the Gson version available in Maven Centr
9090
<dependency>
9191
<groupId>com.google.code.gson</groupId>
9292
<artifactId>gson</artifactId>
93-
<version>2.11.0</version>
93+
<version>2.12.0</version>
9494
<scope>compile</scope>
9595
</dependency>
9696
</dependencies>

extras/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>com.google.code.gson</groupId>
2121
<artifactId>gson-parent</artifactId>
22-
<version>2.11.1-SNAPSHOT</version>
22+
<version>2.12.0</version>
2323
</parent>
2424

2525
<artifactId>gson-extras</artifactId>
@@ -30,7 +30,7 @@
3030
<properties>
3131
<!-- Make the build reproducible, see root `pom.xml` -->
3232
<!-- This is duplicated here because that is recommended by `artifact:check-buildplan` -->
33-
<project.build.outputTimestamp>2024-05-19T18:54:10Z</project.build.outputTimestamp>
33+
<project.build.outputTimestamp>2025-01-27T22:39:27Z</project.build.outputTimestamp>
3434

3535
<!-- Overwrite property from parent; this module is currently not deployed -->
3636
<gson.isInternalModule>true</gson.isInternalModule>

gson/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>com.google.code.gson</groupId>
2222
<artifactId>gson-parent</artifactId>
23-
<version>2.11.1-SNAPSHOT</version>
23+
<version>2.12.0</version>
2424
</parent>
2525

2626
<artifactId>gson</artifactId>
@@ -36,7 +36,7 @@
3636
<properties>
3737
<!-- Make the build reproducible, see root `pom.xml` -->
3838
<!-- This is duplicated here because that is recommended by `artifact:check-buildplan` -->
39-
<project.build.outputTimestamp>2024-05-19T18:54:10Z</project.build.outputTimestamp>
39+
<project.build.outputTimestamp>2025-01-27T22:39:27Z</project.build.outputTimestamp>
4040

4141
<excludeTestCompilation>**/Java17*</excludeTestCompilation>
4242
</properties>

gson/src/main/java/com/google/gson/stream/JsonReader.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ public final Strictness getStrictness() {
431431
* <p>The default nesting limit is {@value #DEFAULT_NESTING_LIMIT}.
432432
*
433433
* @throws IllegalArgumentException if the nesting limit is negative.
434-
* @since $next-version$
434+
* @since 2.12.0
435435
* @see #getNestingLimit()
436436
*/
437437
public final void setNestingLimit(int limit) {
@@ -444,7 +444,7 @@ public final void setNestingLimit(int limit) {
444444
/**
445445
* Returns the nesting limit of this reader.
446446
*
447-
* @since $next-version$
447+
* @since 2.12.0
448448
* @see #setNestingLimit(int)
449449
*/
450450
public final int getNestingLimit() {

metrics/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>com.google.code.gson</groupId>
2121
<artifactId>gson-parent</artifactId>
22-
<version>2.11.1-SNAPSHOT</version>
22+
<version>2.12.0</version>
2323
</parent>
2424

2525
<artifactId>gson-metrics</artifactId>

pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<groupId>com.google.code.gson</groupId>
2121
<artifactId>gson-parent</artifactId>
22-
<version>2.11.1-SNAPSHOT</version>
22+
<version>2.12.0</version>
2323
<packaging>pom</packaging>
2424

2525
<name>Gson Parent</name>
@@ -43,7 +43,7 @@
4343

4444
<!-- Make the build reproducible, see https://maven.apache.org/guides/mini/guide-reproducible-builds.html -->
4545
<!-- Automatically updated by Maven Release Plugin -->
46-
<project.build.outputTimestamp>2024-05-19T18:54:10Z</project.build.outputTimestamp>
46+
<project.build.outputTimestamp>2025-01-27T22:39:27Z</project.build.outputTimestamp>
4747

4848
<!-- These properties are to be overwritten by the Maven modules -->
4949
<!-- Whether this module is an integration test module -->
@@ -58,7 +58,7 @@
5858
<url>https://github.com/google/gson/</url>
5959
<connection>scm:git:https://github.com/google/gson.git</connection>
6060
<developerConnection>scm:git:git@github.com:google/gson.git</developerConnection>
61-
<tag>HEAD</tag>
61+
<tag>gson-parent-2.12.0</tag>
6262
</scm>
6363

6464
<developers>

proto/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>com.google.code.gson</groupId>
2121
<artifactId>gson-parent</artifactId>
22-
<version>2.11.1-SNAPSHOT</version>
22+
<version>2.12.0</version>
2323
</parent>
2424

2525
<artifactId>proto</artifactId>
@@ -29,7 +29,7 @@
2929
<properties>
3030
<!-- Make the build reproducible, see root `pom.xml` -->
3131
<!-- This is duplicated here because that is recommended by `artifact:check-buildplan` -->
32-
<project.build.outputTimestamp>2024-05-19T18:54:10Z</project.build.outputTimestamp>
32+
<project.build.outputTimestamp>2025-01-27T22:39:27Z</project.build.outputTimestamp>
3333

3434
<protobufVersion>4.29.2</protobufVersion>
3535

proto/src/main/java/com/google/gson/protobuf/ProtoTypeAdapter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public Builder addSerializedEnumValueExtension(
194194
* ...will be serialized as '{@code bar}' if {@code shouldUseJsonNameFieldOption} is set to
195195
* {@code true} and the '{@code serialized_name}' annotation is added to the adapter.
196196
*
197-
* @since $next-version$
197+
* @since 2.12.0
198198
*/
199199
@CanIgnoreReturnValue
200200
public Builder setShouldUseJsonNameFieldOption(boolean shouldUseJsonNameFieldOption) {

test-graal-native-image/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>com.google.code.gson</groupId>
2121
<artifactId>gson-parent</artifactId>
22-
<version>2.11.1-SNAPSHOT</version>
22+
<version>2.12.0</version>
2323
</parent>
2424
<artifactId>test-graal-native-image</artifactId>
2525
<name>Test: GraalVM Native Image</name>

test-jpms/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>com.google.code.gson</groupId>
2121
<artifactId>gson-parent</artifactId>
22-
<version>2.11.1-SNAPSHOT</version>
22+
<version>2.12.0</version>
2323
</parent>
2424
<artifactId>test-jpms</artifactId>
2525
<name>Test: Java Platform Module System (JPMS)</name>

test-shrinker/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>com.google.code.gson</groupId>
2222
<artifactId>gson-parent</artifactId>
23-
<version>2.11.1-SNAPSHOT</version>
23+
<version>2.12.0</version>
2424
</parent>
2525
<artifactId>test-shrinker</artifactId>
2626
<name>Test: Code shrinking (ProGuard / R8)</name>

0 commit comments

Comments
 (0)