Skip to content

Commit

Permalink
Moving "software.amazon.awssdk" dependencies to the compileOnly scope. (
Browse files Browse the repository at this point in the history
opensearch-project#628)

* move "software.amazon.awssdk" dependencies to the compileOnly scope.

Signed-off-by: Dmitry Kaukov <dkaukov@opentable.com>

* PR feedback

Signed-off-by: Dmitry Kaukov <dkaukov@opentable.com>

* PR feedback

Signed-off-by: Dmitry Kaukov <dkaukov@opentable.com>

---------

Signed-off-by: Dmitry Kaukov <dkaukov@opentable.com>
Signed-off-by: Vacha Shah <vachshah@amazon.com>
  • Loading branch information
dkaukov authored and VachaShah committed Sep 22, 2023
1 parent 4b47ab0 commit 3dc5233
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Bumps `io.github.classgraph:classgraph` from 4.8.160 to 4.8.161

### Changed
- Moved "software.amazon.awssdk" dependencies to the compileOnly scope. ([#628](https://github.com/opensearch-project/opensearch-java/pull/628))

### Deprecated

Expand Down
4 changes: 2 additions & 2 deletions java-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ dependencies {
implementation("org.apache.httpcomponents.core5", "httpcore5", "5.1.5")

// For AwsSdk2Transport
"awsSdk2SupportImplementation"("software.amazon.awssdk","sdk-core","[2.15,3.0)")
"awsSdk2SupportImplementation"("software.amazon.awssdk","auth","[2.15,3.0)")
"awsSdk2SupportCompileOnly"("software.amazon.awssdk","sdk-core","[2.15,3.0)")
"awsSdk2SupportCompileOnly"("software.amazon.awssdk","auth","[2.15,3.0)")
testImplementation("software.amazon.awssdk","sdk-core","[2.15,3.0)")
testImplementation("software.amazon.awssdk","auth","[2.15,3.0)")
testImplementation("software.amazon.awssdk","aws-crt-client","[2.15,3.0)")
Expand Down

0 comments on commit 3dc5233

Please sign in to comment.