Skip to content

Commit 545b802

Browse files
committed
[maven-release-plugin] prepare release gson-parent-2.11.0
1 parent 8bfdbb4 commit 545b802

File tree

14 files changed

+29
-29
lines changed

14 files changed

+29
-29
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.10.1'
27+
implementation 'com.google.code.gson:gson:2.11.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.10.1</version>
36+
<version>2.11.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.10.1'
79+
implementation 'com.google.code.gson:gson:2.11.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.10.1</version>
93+
<version>2.11.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.10.2-SNAPSHOT</version>
22+
<version>2.11.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>2023-01-01T00:00:00Z</project.build.outputTimestamp>
33+
<project.build.outputTimestamp>2024-05-19T17:21:46Z</project.build.outputTimestamp>
3434
</properties>
3535

3636
<licenses>

graal-native-image-test/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
<parent>
2121
<groupId>com.google.code.gson</groupId>
2222
<artifactId>gson-parent</artifactId>
23-
<version>2.10.2-SNAPSHOT</version>
23+
<version>2.11.0</version>
2424
</parent>
2525
<artifactId>graal-native-image-test</artifactId>
2626

2727
<properties>
2828
<!-- Make the build reproducible, see root `pom.xml` -->
2929
<!-- This is duplicated here because that is recommended by `artifact:check-buildplan` -->
30-
<project.build.outputTimestamp>2023-01-01T00:00:00Z</project.build.outputTimestamp>
30+
<project.build.outputTimestamp>2024-05-19T17:21:46Z</project.build.outputTimestamp>
3131

3232
<!-- GraalVM is JDK >= 17, however for build with regular JDK these tests
3333
are also executed with JDK 11, so for them exclude JDK 17 specific tests -->

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.10.2-SNAPSHOT</version>
23+
<version>2.11.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>2023-01-01T00:00:00Z</project.build.outputTimestamp>
39+
<project.build.outputTimestamp>2024-05-19T17:21:46Z</project.build.outputTimestamp>
4040

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

gson/src/main/java/com/google/gson/FormattingStyle.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* @see GsonBuilder#setFormattingStyle(FormattingStyle)
3535
* @see JsonWriter#setFormattingStyle(FormattingStyle)
3636
* @see <a href="https://en.wikipedia.org/wiki/Newline">Wikipedia Newline article</a>
37-
* @since $next-version$
37+
* @since 2.11.0
3838
*/
3939
public class FormattingStyle {
4040
private final String newline;

gson/src/main/java/com/google/gson/GsonBuilder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ public GsonBuilder setPrettyPrinting() {
522522
*
523523
* @param formattingStyle the formatting style to use.
524524
* @return a reference to this {@code GsonBuilder} object to fulfill the "Builder" pattern
525-
* @since $next-version$
525+
* @since 2.11.0
526526
*/
527527
@CanIgnoreReturnValue
528528
public GsonBuilder setFormattingStyle(FormattingStyle formattingStyle) {
@@ -560,7 +560,7 @@ public GsonBuilder setLenient() {
560560
* @return a reference to this {@code GsonBuilder} object to fulfill the "Builder" pattern.
561561
* @see JsonReader#setStrictness(Strictness)
562562
* @see JsonWriter#setStrictness(Strictness)
563-
* @since $next-version$
563+
* @since 2.11.0
564564
*/
565565
@CanIgnoreReturnValue
566566
public GsonBuilder setStrictness(Strictness strictness) {

gson/src/main/java/com/google/gson/Strictness.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* @see JsonReader#setStrictness(Strictness)
1616
* @see JsonWriter#setStrictness(Strictness)
17-
* @since $next-version$
17+
* @since 2.11.0
1818
*/
1919
public enum Strictness {
2020
/** Allow large deviations from the JSON specification. */

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ public final boolean isLenient() {
394394
*
395395
* @param strictness the new strictness value of this reader. May not be {@code null}.
396396
* @see #getStrictness()
397-
* @since $next-version$
397+
* @since 2.11.0
398398
*/
399399
public final void setStrictness(Strictness strictness) {
400400
Objects.requireNonNull(strictness);
@@ -405,7 +405,7 @@ public final void setStrictness(Strictness strictness) {
405405
* Returns the {@linkplain Strictness strictness} of this reader.
406406
*
407407
* @see #setStrictness(Strictness)
408-
* @since $next-version$
408+
* @since 2.11.0
409409
*/
410410
public final Strictness getStrictness() {
411411
return strictness;

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ public final void setIndent(String indent) {
261261
* level of indentation, or the newline style, to accommodate various OS styles.
262262
*
263263
* @param formattingStyle the formatting style to use, must not be {@code null}.
264-
* @since $next-version$
264+
* @since 2.11.0
265265
*/
266266
public final void setFormattingStyle(FormattingStyle formattingStyle) {
267267
this.formattingStyle = Objects.requireNonNull(formattingStyle);
@@ -286,7 +286,7 @@ public final void setFormattingStyle(FormattingStyle formattingStyle) {
286286
* Returns the pretty printing style used by this writer.
287287
*
288288
* @return the {@code FormattingStyle} that will be used.
289-
* @since $next-version$
289+
* @since 2.11.0
290290
*/
291291
public final FormattingStyle getFormattingStyle() {
292292
return formattingStyle;
@@ -339,7 +339,7 @@ public boolean isLenient() {
339339
*
340340
* @param strictness the new strictness of this writer. May not be {@code null}.
341341
* @see #getStrictness()
342-
* @since $next-version$
342+
* @since 2.11.0
343343
*/
344344
public final void setStrictness(Strictness strictness) {
345345
this.strictness = Objects.requireNonNull(strictness);
@@ -349,7 +349,7 @@ public final void setStrictness(Strictness strictness) {
349349
* Returns the {@linkplain Strictness strictness} of this writer.
350350
*
351351
* @see #setStrictness(Strictness)
352-
* @since $next-version$
352+
* @since 2.11.0
353353
*/
354354
public final Strictness getStrictness() {
355355
return strictness;

metrics/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.10.2-SNAPSHOT</version>
22+
<version>2.11.0</version>
2323
</parent>
2424

2525
<artifactId>gson-metrics</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>2023-01-01T00:00:00Z</project.build.outputTimestamp>
33+
<project.build.outputTimestamp>2024-05-19T17:21:46Z</project.build.outputTimestamp>
3434
</properties>
3535

3636
<licenses>

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.10.2-SNAPSHOT</version>
22+
<version>2.11.0</version>
2323
<packaging>pom</packaging>
2424

2525
<name>Gson Parent</name>
@@ -42,7 +42,7 @@
4242

4343
<!-- Make the build reproducible, see https://maven.apache.org/guides/mini/guide-reproducible-builds.html -->
4444
<!-- Automatically updated by Maven Release Plugin -->
45-
<project.build.outputTimestamp>2023-01-01T00:00:00Z</project.build.outputTimestamp>
45+
<project.build.outputTimestamp>2024-05-19T17:21:46Z</project.build.outputTimestamp>
4646
</properties>
4747

4848
<!-- These attributes specify that the URLs should be inherited by the modules as is, to avoid constructing
@@ -51,7 +51,7 @@
5151
<url>https://github.com/google/gson/</url>
5252
<connection>scm:git:https://github.com/google/gson.git</connection>
5353
<developerConnection>scm:git:[email protected]:google/gson.git</developerConnection>
54-
<tag>HEAD</tag>
54+
<tag>gson-parent-2.11.0</tag>
5555
</scm>
5656

5757
<developers>

proto/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.10.2-SNAPSHOT</version>
23+
<version>2.11.0</version>
2424
</parent>
2525

2626
<artifactId>proto</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>2023-01-01T00:00:00Z</project.build.outputTimestamp>
33+
<project.build.outputTimestamp>2024-05-19T17:21:46Z</project.build.outputTimestamp>
3434

3535
<protobufVersion>4.26.1</protobufVersion>
3636
</properties>

shrinker-test/pom.xml

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

2626
<artifactId>shrinker-test</artifactId>
2727

2828
<properties>
2929
<!-- Make the build reproducible, see root `pom.xml` -->
3030
<!-- This is duplicated here because that is recommended by `artifact:check-buildplan` -->
31-
<project.build.outputTimestamp>2023-01-01T00:00:00Z</project.build.outputTimestamp>
31+
<project.build.outputTimestamp>2024-05-19T17:21:46Z</project.build.outputTimestamp>
3232

3333
<maven.compiler.release>8</maven.compiler.release>
3434
</properties>

0 commit comments

Comments
 (0)