diff --git a/CHANGELOG.md b/CHANGELOG.md index c6bf44b5aa..ab8c8749bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Changed - Migrate client transports to Apache HttpClient / Core 5.x ([#246](https://github.com/opensearch-project/opensearch-java/pull/246)) +- Moved "software.amazon.awssdk" dependencies to the compileOnly scope. ([#628](https://github.com/opensearch-project/opensearch-java/pull/628)) ### Deprecated - Deprecate RestClientTransport ([#536](https://github.com/opensearch-project/opensearch-java/pull/536)) diff --git a/java-client/build.gradle.kts b/java-client/build.gradle.kts index 9ebb339750..7fd07a43e5 100644 --- a/java-client/build.gradle.kts +++ b/java-client/build.gradle.kts @@ -185,8 +185,8 @@ dependencies { testImplementation("com.fasterxml.jackson.datatype", "jackson-datatype-jakarta-jsonp", jacksonVersion) // 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)")