Skip to content

Commit

Permalink
[maven-release-plugin] prepare release gson-parent-2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
eamonnmcmanus committed Oct 25, 2022
1 parent 4f948dd commit 9efdfad
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,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.9.1'
implementation 'com.google.code.gson:gson:2.10'
}
```

Expand All @@ -28,7 +28,7 @@ Maven:
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.9.1</version>
<version>2.10</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.9.1'
implementation 'com.google.code.gson:gson:2.10'
}
```

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.9.1</version>
<version>2.10</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion extras/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.google.code.gson</groupId>
<artifactId>gson-parent</artifactId>
<version>2.9.2-SNAPSHOT</version>
<version>2.10</version>
</parent>

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

<artifactId>gson</artifactId>
Expand Down Expand Up @@ -246,7 +246,7 @@
</activation>
<properties>
<maven.compiler.testRelease>17</maven.compiler.testRelease>
<excludeTestCompilation></excludeTestCompilation>
<excludeTestCompilation />
</properties>
</profile>
</profiles>
Expand Down
8 changes: 4 additions & 4 deletions gson/src/main/java/com/google/gson/Gson.java
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ public <T> T fromJson(String json, Type typeOfT) throws JsonSyntaxException {
*
* @see #fromJson(Reader, TypeToken)
* @see #fromJson(String, Class)
* @since $next-version$
* @since 2.10
*/
public <T> T fromJson(String json, TypeToken<T> typeOfT) throws JsonSyntaxException {
if (json == null) {
Expand Down Expand Up @@ -1117,7 +1117,7 @@ public <T> T fromJson(Reader json, Type typeOfT) throws JsonIOException, JsonSyn
*
* @see #fromJson(String, TypeToken)
* @see #fromJson(Reader, Class)
* @since $next-version$
* @since 2.10
*/
public <T> T fromJson(Reader json, TypeToken<T> typeOfT) throws JsonIOException, JsonSyntaxException {
JsonReader jsonReader = newJsonReader(json);
Expand Down Expand Up @@ -1201,7 +1201,7 @@ public <T> T fromJson(JsonReader reader, Type typeOfT) throws JsonIOException, J
*
* @see #fromJson(Reader, TypeToken)
* @see #fromJson(JsonReader, Type)
* @since $next-version$
* @since 2.10
*/
public <T> T fromJson(JsonReader reader, TypeToken<T> typeOfT) throws JsonIOException, JsonSyntaxException {
boolean isEmpty = true;
Expand Down Expand Up @@ -1310,7 +1310,7 @@ public <T> T fromJson(JsonElement json, Type typeOfT) throws JsonSyntaxException
*
* @see #fromJson(Reader, TypeToken)
* @see #fromJson(JsonElement, Class)
* @since $next-version$
* @since 2.10
*/
public <T> T fromJson(JsonElement json, TypeToken<T> typeOfT) throws JsonSyntaxException {
if (json == null) {
Expand Down
2 changes: 1 addition & 1 deletion gson/src/main/java/com/google/gson/JsonArray.java
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ public boolean getAsBoolean() {
* Use {@link JsonNull} for JSON null values.
*
* @return mutable {@code List} view
* @since $next-version$
* @since 2.10
*/
public List<JsonElement> asList() {
return new NonNullElementWrapperList<>(elements);
Expand Down
2 changes: 1 addition & 1 deletion gson/src/main/java/com/google/gson/JsonObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public JsonObject getAsJsonObject(String memberName) {
* Use {@link JsonNull} for JSON null values.
*
* @return mutable {@code Map} view
* @since $next-version$
* @since 2.10
*/
public Map<String, JsonElement> asMap() {
// It is safe to expose the underlying map because it disallows null keys and values
Expand Down
2 changes: 1 addition & 1 deletion metrics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.google.code.gson</groupId>
<artifactId>gson-parent</artifactId>
<version>2.9.2-SNAPSHOT</version>
<version>2.10</version>
</parent>

<artifactId>gson-metrics</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

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

<name>Gson Parent</name>
Expand All @@ -28,7 +28,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.10</tag>
</scm>

<issueManagement>
Expand Down
2 changes: 1 addition & 1 deletion proto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.google.code.gson</groupId>
<artifactId>gson-parent</artifactId>
<version>2.9.2-SNAPSHOT</version>
<version>2.10</version>
</parent>

<artifactId>proto</artifactId>
Expand Down

0 comments on commit 9efdfad

Please sign in to comment.