Skip to content

Commit

Permalink
Merge pull request #182 from hmrc/dave/DLS-3043/mend-akka-version
Browse files Browse the repository at this point in the history
DLS-3043 mend akka version with overrides
  • Loading branch information
calinursaciuc authored Sep 11, 2020
2 parents eea1b82 + 7942111 commit 4e849e9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 4e849e9

Please sign in to comment.