Skip to content

Commit

Permalink
move "software.amazon.awssdk" dependencies to the compileOnly scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkaukov committed Sep 20, 2023
1 parent d09bb4e commit 03153eb
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions java-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ java {

withJavadocJar()
withSourcesJar()

registerFeature("awsSdk2Support") {
usingSourceSet(sourceSets.get("main"))
}
}

tasks.withType<ProcessResources> {
Expand Down Expand Up @@ -185,8 +181,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)")
compileOnly("software.amazon.awssdk","sdk-core","[2.15,3.0)")
compileOnly("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 03153eb

Please sign in to comment.