From 79421118d520beed75f456ab0bfb4b871021e5ca Mon Sep 17 00:00:00 2001 From: Dave English <4254983+lutnos@users.noreply.github.com> Date: Fri, 11 Sep 2020 11:08:42 +0100 Subject: [PATCH] DLS-3043 mend akka version with overrides --- build.sbt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 4714f21..efc2c75 100644 --- a/build.sbt +++ b/build.sbt @@ -1,12 +1,13 @@ import com.lucidchart.sbt.scalafmt.ScalafmtCorePlugin.autoImport._ import play.core.PlayVersion import sbt.Keys.compile +import sbt.Keys.dependencyOverrides import uk.gov.hmrc.DefaultBuildSettings.{addTestReportOption, defaultSettings, scalaSettings} import uk.gov.hmrc.SbtArtifactory import uk.gov.hmrc.sbtdistributables.SbtDistributablesPlugin.publishingSettings import wartremover.{Wart, Warts, wartremoverErrors, wartremoverExcluded} -lazy val appDependencies: Seq[ModuleID] = dependencies ++ testDependencies() +lazy val appDependencies: Seq[ModuleID] = dependencies ++ overrides ++ testDependencies() lazy val plugins: Seq[Plugins] = Seq.empty lazy val playSettings: Seq[Setting[_]] = Seq.empty lazy val scoverageSettings = { @@ -101,6 +102,16 @@ val dependencies = Seq( "com.google.inject" % "guice" % "4.2.2" ) +val akkaVersion = "2.5.23" +val akkaHttpVersion = "10.0.15" +val overrides = Seq( + "com.typesafe.akka" %% "akka-stream" % akkaVersion, + "com.typesafe.akka" %% "akka-protobuf" % akkaVersion, + "com.typesafe.akka" %% "akka-slf4j" % akkaVersion, + "com.typesafe.akka" %% "akka-actor" % akkaVersion, + "com.typesafe.akka" %% "akka-http-core" % akkaHttpVersion +) + def testDependencies(scope: String = "test") = Seq( hmrc %% "service-integration-test" % "0.9.0-play-26" % scope, "org.scalatest" %% "scalatest" % "3.0.8" % scope,