Skip to content

Commit 6dab2ce

Browse files
Upgrade gson to 2.12.1
Since error_prone_annotations are in version 2.36.0, there is not reason why gson couldn't be bumped to v2.12.1. Since v2.12.0 gson do not support Java 7, but it has been dropped in grpc#8828.
1 parent bbc0aa3 commit 6dab2ce

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ IO_GRPC_GRPC_JAVA_ARTIFACTS = [
1414
"com.google.auto.value:auto-value-annotations:1.11.0",
1515
"com.google.auto.value:auto-value:1.11.0",
1616
"com.google.code.findbugs:jsr305:3.0.2",
17-
"com.google.code.gson:gson:2.11.0",
17+
"com.google.code.gson:gson:2.12.1",
1818
"com.google.errorprone:error_prone_annotations:2.36.0",
1919
"com.google.guava:failureaccess:1.0.1",
2020
"com.google.guava:guava:33.4.8-android",

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ google-auth-credentials = "com.google.auth:google-auth-library-credentials:1.24.
4141
google-auth-oauth2Http = "com.google.auth:google-auth-library-oauth2-http:1.24.1"
4242
# Release notes: https://cloud.google.com/logging/docs/release-notes
4343
google-cloud-logging = "com.google.cloud:google-cloud-logging:3.23.1"
44-
# 2.12.1 requires error_prone_annotations:2.36.0 but we are stuck with 2.30.0
45-
gson = "com.google.code.gson:gson:2.11.0"
44+
# 2.13.0 requires error_prone_annotations:2.37.0, but we are stuck with 2.36.0
45+
gson = "com.google.code.gson:gson:2.12.1"
4646
# 33.4.8 requires com.google.errorprone:error_prone_annotations:2.36.0
4747
guava = "com.google.guava:guava:33.4.8-android"
4848
guava-betaChecker = "com.google.guava:guava-beta-checker:1.0"

repositories.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ IO_GRPC_GRPC_JAVA_ARTIFACTS = [
1818
"com.google.auto.value:auto-value-annotations:1.11.0",
1919
"com.google.auto.value:auto-value:1.11.0",
2020
"com.google.code.findbugs:jsr305:3.0.2",
21-
"com.google.code.gson:gson:2.11.0",
21+
"com.google.code.gson:gson:2.12.1",
2222
"com.google.errorprone:error_prone_annotations:2.36.0",
2323
"com.google.guava:failureaccess:1.0.1",
2424
"com.google.guava:guava:33.4.8-android",

0 commit comments

Comments
 (0)