From 2fbe40366fb574ce6e21e2ff7f23c43dc9790aed Mon Sep 17 00:00:00 2001 From: Vacha Shah Date: Fri, 22 Sep 2023 11:23:32 -0700 Subject: [PATCH] Moving "software.amazon.awssdk" dependencies to the compileOnly scope. (#628) (#634) * move "software.amazon.awssdk" dependencies to the compileOnly scope. * PR feedback * PR feedback --------- Signed-off-by: Dmitry Kaukov Signed-off-by: Vacha Shah Co-authored-by: Dmitry Kaukov --- CHANGELOG.md | 1 + java-client/build.gradle.kts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f8c80de4b..6843daa0fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/java-client/build.gradle.kts b/java-client/build.gradle.kts index 68b8ace30d..ba555bf000 100644 --- a/java-client/build.gradle.kts +++ b/java-client/build.gradle.kts @@ -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)")