From 4d397636d6163c375f8da2ae81d38456862058d8 Mon Sep 17 00:00:00 2001 From: Andrew Nowak Date: Mon, 10 Jun 2024 18:20:41 +0100 Subject: [PATCH] remove play-guice from atom-manager-play-lib We're only using it for convenience in tests, and it doesn't form part of the API so no need to be installed in dependents, and play-test already brings in play-guice in the test scope so no need to even explicitly depend on it. This removes the last symbol from the play plugin, so we can remove that too, which means the Play version is only defined in one place so cannot go out of sync again. --- atom-manager-play-lib/build.sbt | 3 +-- project/plugins.sbt | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/atom-manager-play-lib/build.sbt b/atom-manager-play-lib/build.sbt index 42b7556..f12c0c2 100644 --- a/atom-manager-play-lib/build.sbt +++ b/atom-manager-play-lib/build.sbt @@ -8,6 +8,5 @@ libraryDependencies ++= Seq( "org.scalatestplus.play" %% "scalatestplus-play" % "7.0.1" % Test, "com.amazonaws" % "aws-java-sdk-dynamodb" % awsVersion, "org.mockito" % "mockito-core" % mockitoVersion % Test, - "org.playframework" %% "play-test" % playVersion % Test, - guice + "org.playframework" %% "play-test" % playVersion % Test ) diff --git a/project/plugins.sbt b/project/plugins.sbt index 698656a..585cadf 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,5 +1,3 @@ -addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.9.1") - addSbtPlugin("com.github.sbt" % "sbt-release" % "1.1.0") addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.10.0") addSbtPlugin("ch.epfl.scala" % "sbt-version-policy" % "3.2.0")