Skip to content

Commit 791faed

Browse files
authored
Add com.google.code.gson:gson to the gradle version catalog (#19328)
* Add com.google.code.gson:gson to the gradle version catalog Signed-off-by: Craig Perkins <[email protected]> * Add to CHANGELOG Signed-off-by: Craig Perkins <[email protected]> --------- Signed-off-by: Craig Perkins <[email protected]>
1 parent 7fde3d8 commit 791faed

File tree

7 files changed

+7
-4
lines changed

7 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
9494
- Bump `com.nimbusds:oauth2-oidc-sdk` from 11.25 to 11.28 ([#19291](https://github.com/opensearch-project/OpenSearch/pull/19291))
9595
- Bump `log4j2` from 2.21.0 to 2.25.1 ([#19184](https://github.com/opensearch-project/OpenSearch/pull/19184))
9696
- Bump Apache Lucene from 10.2.2 to 10.3.0 ([#19296](https://github.com/opensearch-project/OpenSearch/pull/19296))
97+
- Add com.google.code.gson:gson to the gradle version catalog ([#19328](https://github.com/opensearch-project/OpenSearch/pull/19328))
9798

9899
### Deprecated
99100

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ woodstox = "6.4.0"
2323
kotlin = "1.7.10"
2424
antlr4 = "4.13.1"
2525
guava = "33.2.1-jre"
26+
gson = "2.13.2"
2627
opensearchprotobufs = "0.13.0"
2728
protobuf = "3.25.8"
2829
jakarta_annotation = "1.3.5"
@@ -109,6 +110,7 @@ bouncycastle-tls = { group = "org.bouncycastle", name = "bctls-fips", version.re
109110
bouncycastle-pkix = { group = "org.bouncycastle", name = "bcpkix-fips", version.ref = "bouncycastle_pkix"}
110111
bouncycastle-pg = { group = "org.bouncycastle", name = "bcpg-fips", version.ref = "bouncycastle_pg"}
111112
bouncycastle-util = { group = "org.bouncycastle", name = "bcutil-fips", version.ref = "bouncycastle_util"}
113+
gson = { group = "com.google.code.gson", name = "gson", version.ref = "gson" }
112114
hamcrest = { group = "org.hamcrest", name = "hamcrest", version.ref = "hamcrest" }
113115
hdrhistogram = { group = "org.hdrhistogram", name = "HdrHistogram", version.ref = "hdrhistogram" }
114116
jackson-annotation = { group = "com.fasterxml.jackson.core", name = "jackson-annotations", version.ref = "jackson" }

plugins/repository-gcs/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ dependencies {
7272
implementation "org.threeten:threetenbp:1.7.0"
7373
runtimeOnly "com.google.protobuf:protobuf-java-util:${versions.protobuf}"
7474
runtimeOnly "com.google.protobuf:protobuf-java:${versions.protobuf}"
75-
runtimeOnly "com.google.code.gson:gson:2.12.1"
75+
runtimeOnly "com.google.code.gson:gson:${versions.gson}"
7676
runtimeOnly "com.google.api.grpc:proto-google-common-protos:2.60.0"
7777
runtimeOnly "com.google.api.grpc:proto-google-iam-v1:1.55.0"
7878
implementation "com.google.auth:google-auth-library-credentials:1.38.0"

plugins/repository-gcs/licenses/gson-2.12.1.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
48b8230771e573b54ce6e867a9001e75977fe78e

plugins/repository-hdfs/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ dependencies {
6363
api 'org.apache.htrace:htrace-core4:4.2.0-incubating'
6464
api "org.apache.logging.log4j:log4j-core:${versions.log4j}"
6565
api 'org.apache.avro:avro:1.12.0'
66-
api 'com.google.code.gson:gson:2.13.2'
66+
api "com.google.code.gson:gson:${versions.gson}"
6767
runtimeOnly "com.google.guava:guava:${versions.guava}"
6868
api "commons-logging:commons-logging:${versions.commonslogging}"
6969
api 'commons-cli:commons-cli:1.10.0'

test/fixtures/hdfs-fixture/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ dependencies {
6363
api "commons-codec:commons-codec:${versions.commonscodec}"
6464
api "org.apache.logging.log4j:log4j-core:${versions.log4j}"
6565
api "io.netty:netty-all:${versions.netty}"
66-
api 'com.google.code.gson:gson:2.13.2'
66+
api "com.google.code.gson:gson:${versions.gson}"
6767
api "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:${versions.jackson}"
6868
api "com.fasterxml.jackson.core:jackson-databind:${versions.jackson_databind}"
6969
api "com.fasterxml.woodstox:woodstox-core:${versions.woodstox}"

0 commit comments

Comments
 (0)