-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
executable file
·43 lines (40 loc) · 1.58 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import play.sbt.routes.RoutesKeys
import uk.gov.hmrc.DefaultBuildSettings
ThisBuild / majorVersion := 0
ThisBuild / scalaVersion := "3.5.2"
lazy val microservice = Project("agent-client-relationships-frontend", file("."))
.enablePlugins(play.sbt.PlayScala, SbtDistributablesPlugin)
.disablePlugins(JUnitXmlReportPlugin)
.settings(
PlayKeys.playDefaultPort := 9448,
libraryDependencies ++= AppDependencies.compile ++ AppDependencies.test,
scalacOptions ++= Seq(
"-Wconf:src=routes/.*:s",
"-Wconf:msg=Flag.*repeatedly:s",
"-Wconf:msg=unused import.*&src=html/.*:s"
),
pipelineStages := Seq(gzip)
)
.settings(resolvers += Resolver.jcenterRepo)
.settings(CodeCoverageSettings.settings)
.settings(
RoutesKeys.routesImport ++= Seq(
"uk.gov.hmrc.play.bootstrap.binders.RedirectUrl",
"uk.gov.hmrc.agentclientrelationshipsfrontend.binders.UrlBinders._",
"uk.gov.hmrc.agentclientrelationshipsfrontend.models.journey.JourneyType",
"uk.gov.hmrc.agentclientrelationshipsfrontend.models.journey.JourneyExitType"
)
)
.settings(
TwirlKeys.templateImports ++= Seq(
"uk.gov.hmrc.agentclientrelationshipsfrontend.views.html.Layout",
"uk.gov.hmrc.agentclientrelationshipsfrontend.views.html.components._",
"uk.gov.hmrc.govukfrontend.views.html.components._",
"uk.gov.hmrc.hmrcfrontend.views.html.components._",
)
)
lazy val it = project
.enablePlugins(PlayScala)
.dependsOn(microservice % "test->test")
.settings(DefaultBuildSettings.itSettings())
.settings(libraryDependencies ++= AppDependencies.test)