Skip to content

Commit

Permalink
[maven-release-plugin] prepare release gson-parent-2.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eamonnmcmanus committed May 19, 2024
1 parent 8bfdbb4 commit 545b802
Show file tree
Hide file tree
Showing 14 changed files with 29 additions and 29 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.10.1'
implementation 'com.google.code.gson:gson:2.11.0'
}
```

Expand All @@ -33,7 +33,7 @@ Maven:
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.10.1</version>
<version>2.11.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.10.1'
implementation 'com.google.code.gson:gson:2.11.0'
}
```

Expand All @@ -90,7 +90,7 @@ To use Gson with Maven2/3, you can use the Gson version available in Maven Centr
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.10.1</version>
<version>2.11.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions extras/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<parent>
<groupId>com.google.code.gson</groupId>
<artifactId>gson-parent</artifactId>
<version>2.10.2-SNAPSHOT</version>
<version>2.11.0</version>
</parent>

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

<licenses>
Expand Down
4 changes: 2 additions & 2 deletions graal-native-image-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
<parent>
<groupId>com.google.code.gson</groupId>
<artifactId>gson-parent</artifactId>
<version>2.10.2-SNAPSHOT</version>
<version>2.11.0</version>
</parent>
<artifactId>graal-native-image-test</artifactId>

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

<!-- GraalVM is JDK >= 17, however for build with regular JDK these tests
are also executed with JDK 11, so for them exclude JDK 17 specific tests -->
Expand Down
4 changes: 2 additions & 2 deletions gson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>com.google.code.gson</groupId>
<artifactId>gson-parent</artifactId>
<version>2.10.2-SNAPSHOT</version>
<version>2.11.0</version>
</parent>

<artifactId>gson</artifactId>
Expand All @@ -36,7 +36,7 @@
<properties>
<!-- Make the build reproducible, see root `pom.xml` -->
<!-- This is duplicated here because that is recommended by `artifact:check-buildplan` -->
<project.build.outputTimestamp>2023-01-01T00:00:00Z</project.build.outputTimestamp>
<project.build.outputTimestamp>2024-05-19T17:21:46Z</project.build.outputTimestamp>

<excludeTestCompilation>**/Java17*</excludeTestCompilation>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion gson/src/main/java/com/google/gson/FormattingStyle.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* @see GsonBuilder#setFormattingStyle(FormattingStyle)
* @see JsonWriter#setFormattingStyle(FormattingStyle)
* @see <a href="https://en.wikipedia.org/wiki/Newline">Wikipedia Newline article</a>
* @since $next-version$
* @since 2.11.0
*/
public class FormattingStyle {
private final String newline;
Expand Down
4 changes: 2 additions & 2 deletions gson/src/main/java/com/google/gson/GsonBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ public GsonBuilder setPrettyPrinting() {
*
* @param formattingStyle the formatting style to use.
* @return a reference to this {@code GsonBuilder} object to fulfill the "Builder" pattern
* @since $next-version$
* @since 2.11.0
*/
@CanIgnoreReturnValue
public GsonBuilder setFormattingStyle(FormattingStyle formattingStyle) {
Expand Down Expand Up @@ -560,7 +560,7 @@ public GsonBuilder setLenient() {
* @return a reference to this {@code GsonBuilder} object to fulfill the "Builder" pattern.
* @see JsonReader#setStrictness(Strictness)
* @see JsonWriter#setStrictness(Strictness)
* @since $next-version$
* @since 2.11.0
*/
@CanIgnoreReturnValue
public GsonBuilder setStrictness(Strictness strictness) {
Expand Down
2 changes: 1 addition & 1 deletion gson/src/main/java/com/google/gson/Strictness.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @see JsonReader#setStrictness(Strictness)
* @see JsonWriter#setStrictness(Strictness)
* @since $next-version$
* @since 2.11.0
*/
public enum Strictness {
/** Allow large deviations from the JSON specification. */
Expand Down
4 changes: 2 additions & 2 deletions gson/src/main/java/com/google/gson/stream/JsonReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ public final boolean isLenient() {
*
* @param strictness the new strictness value of this reader. May not be {@code null}.
* @see #getStrictness()
* @since $next-version$
* @since 2.11.0
*/
public final void setStrictness(Strictness strictness) {
Objects.requireNonNull(strictness);
Expand All @@ -405,7 +405,7 @@ public final void setStrictness(Strictness strictness) {
* Returns the {@linkplain Strictness strictness} of this reader.
*
* @see #setStrictness(Strictness)
* @since $next-version$
* @since 2.11.0
*/
public final Strictness getStrictness() {
return strictness;
Expand Down
8 changes: 4 additions & 4 deletions gson/src/main/java/com/google/gson/stream/JsonWriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public final void setIndent(String indent) {
* level of indentation, or the newline style, to accommodate various OS styles.
*
* @param formattingStyle the formatting style to use, must not be {@code null}.
* @since $next-version$
* @since 2.11.0
*/
public final void setFormattingStyle(FormattingStyle formattingStyle) {
this.formattingStyle = Objects.requireNonNull(formattingStyle);
Expand All @@ -286,7 +286,7 @@ public final void setFormattingStyle(FormattingStyle formattingStyle) {
* Returns the pretty printing style used by this writer.
*
* @return the {@code FormattingStyle} that will be used.
* @since $next-version$
* @since 2.11.0
*/
public final FormattingStyle getFormattingStyle() {
return formattingStyle;
Expand Down Expand Up @@ -339,7 +339,7 @@ public boolean isLenient() {
*
* @param strictness the new strictness of this writer. May not be {@code null}.
* @see #getStrictness()
* @since $next-version$
* @since 2.11.0
*/
public final void setStrictness(Strictness strictness) {
this.strictness = Objects.requireNonNull(strictness);
Expand All @@ -349,7 +349,7 @@ public final void setStrictness(Strictness strictness) {
* Returns the {@linkplain Strictness strictness} of this writer.
*
* @see #setStrictness(Strictness)
* @since $next-version$
* @since 2.11.0
*/
public final Strictness getStrictness() {
return strictness;
Expand Down
4 changes: 2 additions & 2 deletions metrics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<parent>
<groupId>com.google.code.gson</groupId>
<artifactId>gson-parent</artifactId>
<version>2.10.2-SNAPSHOT</version>
<version>2.11.0</version>
</parent>

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

<licenses>
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<groupId>com.google.code.gson</groupId>
<artifactId>gson-parent</artifactId>
<version>2.10.2-SNAPSHOT</version>
<version>2.11.0</version>
<packaging>pom</packaging>

<name>Gson Parent</name>
Expand All @@ -42,7 +42,7 @@

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

<!-- These attributes specify that the URLs should be inherited by the modules as is, to avoid constructing
Expand All @@ -51,7 +51,7 @@
<url>https://github.com/google/gson/</url>
<connection>scm:git:https://github.com/google/gson.git</connection>
<developerConnection>scm:git:git@github.com:google/gson.git</developerConnection>
<tag>HEAD</tag>
<tag>gson-parent-2.11.0</tag>
</scm>

<developers>
Expand Down
4 changes: 2 additions & 2 deletions proto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>com.google.code.gson</groupId>
<artifactId>gson-parent</artifactId>
<version>2.10.2-SNAPSHOT</version>
<version>2.11.0</version>
</parent>

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

<protobufVersion>4.26.1</protobufVersion>
</properties>
Expand Down
4 changes: 2 additions & 2 deletions shrinker-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
<parent>
<groupId>com.google.code.gson</groupId>
<artifactId>gson-parent</artifactId>
<version>2.10.2-SNAPSHOT</version>
<version>2.11.0</version>
</parent>

<artifactId>shrinker-test</artifactId>

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

<maven.compiler.release>8</maven.compiler.release>
</properties>
Expand Down

0 comments on commit 545b802

Please sign in to comment.