-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
executable file
·26 lines (23 loc) · 1.01 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
import uk.gov.hmrc.DefaultBuildSettings
ThisBuild / majorVersion := 0
ThisBuild / scalaVersion := "2.13.12"
lazy val microservice = Project("income-tax-penalties-appeals-frontend", file("."))
.enablePlugins(play.sbt.PlayScala, SbtDistributablesPlugin)
.settings(
libraryDependencies ++= AppDependencies.compile ++ AppDependencies.test,
// https://www.scala-lang.org/2021/01/12/configuring-and-suppressing-warnings.html
// suppress warnings in generated routes files
scalacOptions += "-Wconf:src=routes/.*:s",
scalacOptions += "-Wconf:cat=unused-imports&src=html/.*:s",
pipelineStages := Seq(gzip),
PlayKeys.playDefaultPort := 9188
)
.settings(Test/logBuffered := false)
.settings(resolvers += Resolver.jcenterRepo)
.settings(CodeCoverageSettings.settings *)
lazy val it = project
.enablePlugins(PlayScala)
.dependsOn(microservice % "test->test")
.settings(DefaultBuildSettings.itSettings())
.settings(Test/logBuffered := false)
.settings(libraryDependencies ++= AppDependencies.it)