Skip to content

Commit 5cee5bf

Browse files
committed
Exlcude EC2 transitive lib from fakeBreakingNewsLambda
1 parent 9b4dd57 commit 5cee5bf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

build.sbt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def lambda(projectName: String, directoryName: String, mainClassName: Option[Str
253253
"snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
254254
),
255255
libraryDependencies ++= Seq(
256-
"com.amazonaws" % "aws-lambda-java-core" % "1.3.0" % Provided,
256+
"com.amazonaws" % "aws-lambda-java-core" % "1.3.0",
257257
"org.slf4j" % "slf4j-api" % slf4jVersion,
258258
"com.gu" %% "simple-configuration-core" % simpleConfigurationVersion,
259259
"com.gu" %% "simple-configuration-ssm" % simpleConfigurationVersion,
@@ -439,6 +439,7 @@ lazy val fakebreakingnewslambda = lambda("fakebreakingnewslambda", "fakebreaking
439439
),
440440
excludeDependencies ++= Seq(
441441
ExclusionRule("org.playframework", "play-ahc-ws_2.13"),
442+
ExclusionRule("software.amazon.awssdk", "ec2"),
442443
// As of Play 3.0, groupId has changed to org.playframework; exclude transitive dependencies to the old artifacts
443444
// Hopefully this workaround can be removed once play-json-extensions either updates to Play 3.0 or is merged into play-json
444445
ExclusionRule(organization = "com.typesafe.play")

0 commit comments

Comments
 (0)