From c70f3181ab73810e1cff0da7789deeeb762fed9d Mon Sep 17 00:00:00 2001 From: Suraj Kumar Date: Fri, 6 Sep 2024 10:19:21 +0100 Subject: [PATCH] Use Java's connection classes instead of AWS --- build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.gradle b/build.gradle index d091b4d..f7ff3ac 100644 --- a/build.gradle +++ b/build.gradle @@ -23,6 +23,13 @@ subprojects { implementation 'com.amazonaws:aws-lambda-java-events:3.13.0' implementation 'com.amazonaws:aws-lambda-java-runtime-interface-client:2.6.0' + implementation 'software.amazon.awssdk:url-connection-client:2.13.31' + + configurations.configureEach { + exclude group: 'software.amazon.awssdk', module: 'apache-client' + exclude group: 'software.amazon.awssdk', module: 'netty-nio-client' + } + implementation 'org.slf4j:log4j-over-slf4j:2.0.16' implementation 'ch.qos.logback:logback-classic:1.5.7' }