Skip to content

Commit

Permalink
[Backport 2.x] Fix dependencies (#4963) (#4982)
Browse files Browse the repository at this point in the history
* Fix dependencies (#4963)

* Upgrading kotlin-stdlib and excluding jetty-http

Signed-off-by: Vacha Shah <[email protected]>

* Upgrading indirect snakeyaml dependency

Signed-off-by: Vacha Shah <[email protected]>

* Update CHANGELOG

Signed-off-by: Vacha Shah <[email protected]>

* Using snakeyaml version from version file

Signed-off-by: Vacha Shah <[email protected]>

* Upgrading jetty-http instead of excluding since it is used

Signed-off-by: Vacha Shah <[email protected]>

* Extracting kotlin version

Signed-off-by: Vacha Shah <[email protected]>

Signed-off-by: Vacha Shah <[email protected]>

* Update CHANGELOG

Signed-off-by: Vacha Shah <[email protected]>

Signed-off-by: Vacha Shah <[email protected]>
  • Loading branch information
VachaShah authored Oct 31, 2022
1 parent 122889f commit 26abe78
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Bumps `tika` from 2.4.0 to 2.5.0 ([#4791](https://github.com/opensearch-project/OpenSearch/pull/4791))
- Update Apache Lucene to 9.4.1 ([#4922](https://github.com/opensearch-project/OpenSearch/pull/4922))
- Bump `woodstox-core` to 6.4.0 ([#4951](https://github.com/opensearch-project/OpenSearch/pull/4951))
- Upgrade jetty-http, kotlin-stdlib and snakeyaml ([#4982](https://github.com/opensearch-project/OpenSearch/pull/4982))

### Changed
- Dependency updates (httpcore, mockito, slf4j, httpasyncclient, commons-codec) ([#4308](https://github.com/opensearch-project/OpenSearch/pull/4308))
Expand Down
5 changes: 3 additions & 2 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@ dependencies {
api "net.java.dev.jna:jna:5.11.0"
api 'gradle.plugin.com.github.johnrengelman:shadow:7.1.2'
api 'org.jdom:jdom2:2.0.6.1'
api 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10'
api "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${props.getProperty('kotlin')}"
api 'de.thetaphi:forbiddenapis:3.3'
api 'com.avast.gradle:gradle-docker-compose-plugin:0.14.12'
api 'com.avast.gradle:gradle-docker-compose-plugin:0.15.2'
api "org.yaml:snakeyaml:${props.getProperty('snakeyaml')}"
api 'org.apache.maven:maven-model:3.6.2'
api 'com.networknt:json-schema-validator:1.0.69'
api "com.fasterxml.jackson.core:jackson-databind:${props.getProperty('jackson_databind')}"
Expand Down
1 change: 1 addition & 0 deletions buildSrc/version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ slf4j = 1.7.36
asm = 9.4
jettison = 1.5.1
woodstox = 6.4.0
kotlin = 1.7.10

# when updating the JNA version, also update the version in buildSrc/build.gradle
jna = 5.5.0
Expand Down
2 changes: 2 additions & 0 deletions test/fixtures/hdfs-fixture/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ dependencies {
api 'net.minidev:json-smart:2.4.8'
api "org.mockito:mockito-core:${versions.mockito}"
api "com.google.protobuf:protobuf-java:3.21.2"
api "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin}"
api 'org.eclipse.jetty:jetty-server:9.4.49.v20220914'
}

0 comments on commit 26abe78

Please sign in to comment.