Skip to content

Commit

Permalink
fix localstack dependency on aws sdk v1
Browse files Browse the repository at this point in the history
  • Loading branch information
edigonzales committed Nov 29, 2024
1 parent fd08e80 commit 7df2bec
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ gradleSshPluginVersion = "2.9.0"
gradleAwsPluginVersion = "0.41"
pluginPublishVersion = "0.21.0"
cyclonedxBomVersion = "1.7.4"
awssdk = "1.12.761"
awsSdkV1Version = "1.12.761"

[libraries]
iox-ili = { group = "ch.interlis", name = "iox-ili", version.ref = "ioxIliVersion" }
Expand All @@ -56,7 +56,7 @@ iox-formats = { group = "io.github.sogis", name = "iox-formats", version.ref = "
av2ch = { group = "io.github.sogis", name = "av2ch", version.ref = "av2chVersion" }
av2geobau = { group = "ch.interlis", name = "av2geobau", version.ref = "av2geobauVersion" }
aws-sdk-s3 = { group = "software.amazon.awssdk", name = "s3", version.ref = "awsSdkVersion" }
aws-java-sdk = { group = "com.amazonaws", name = "aws-java-sdk", version.ref = "awssdk" }
aws-java-sdk = { group = "com.amazonaws", name = "aws-java-sdk-s3", version.ref = "awsSdkV1Version" }
apache-commons-io = { group = "commons-io", name = "commons-io", version.ref = "apacheCommonsIoVersion" }
apache-commons-net = { group = "commons-net", name = "commons-net", version.ref = "apacheCommonsNetVersion" }
apache-commons-code = { group = "commons-codec", name = "commons-codec", version.ref = "apacheCommonsCodeVersion" }
Expand Down
9 changes: 7 additions & 2 deletions gretl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,17 @@ dependencies {

testImplementation libs.test.containers.base
testImplementation libs.test.containers.postgresql
testImplementation libs.test.containers.oracle
testImplementation libs.test.containers.localstack
//testImplementation libs.aws.java.sdk
/*
Version 1 des SDK wird wegen Testcontainers benoetigt:
- https://stackoverflow.com/questions/29024520/classnotfoundexception-com-amazonaws-auth-awscredentials-java
- https://github.com/testcontainers/testcontainers-java/issues/1442
*/
testImplementation libs.aws.java.sdk

testImplementation libs.mock.web.server

testImplementation libs.test.containers.oracle

testImplementation libs.tomcat.embed.core

Expand Down

0 comments on commit 7df2bec

Please sign in to comment.