From e39c9ef351cb5c0b5f3b5d93818bea72300fa6e2 Mon Sep 17 00:00:00 2001 From: David Furey Date: Tue, 16 Apr 2024 14:57:15 +0100 Subject: [PATCH] Exclusion rule should also apply to non-lambda projects --- build.sbt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/build.sbt b/build.sbt index 33d8b7eb8..72c244a3f 100644 --- a/build.sbt +++ b/build.sbt @@ -154,6 +154,11 @@ lazy val registration = project logback, "org.tpolecat" %% "doobie-h2" % doobieVersion % Test ), + excludeDependencies ++= Seq( + // As of Play 3.0, groupId has changed to org.playframework; exclude transitive dependencies to the old artifacts + // Hopefully this workaround can be removed once play-json-extensions either updates to Play 3.0 or is merged into play-json + ExclusionRule(organization = "com.typesafe.play") + ), Debian / packageName := name.value, version := projectVersion ) @@ -174,6 +179,11 @@ lazy val notification = project logback, "com.amazonaws" % "aws-java-sdk-sqs" % awsSdkVersion ), + excludeDependencies ++= Seq( + // As of Play 3.0, groupId has changed to org.playframework; exclude transitive dependencies to the old artifacts + // Hopefully this workaround can be removed once play-json-extensions either updates to Play 3.0 or is merged into play-json + ExclusionRule(organization = "com.typesafe.play") + ), Debian / packageName := name.value, version := projectVersion ) @@ -193,6 +203,11 @@ lazy val report = project libraryDependencies ++= Seq( logback ), + excludeDependencies ++= Seq( + // As of Play 3.0, groupId has changed to org.playframework; exclude transitive dependencies to the old artifacts + // Hopefully this workaround can be removed once play-json-extensions either updates to Play 3.0 or is merged into play-json + ExclusionRule(organization = "com.typesafe.play") + ), Debian / packageName := name.value, version := projectVersion )