-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
19 lines (18 loc) · 956 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import uk.gov.hmrc.DefaultBuildSettings.integrationTestSettings
lazy val microservice = Project("build-and-deploy-canary-service", file("."))
.enablePlugins(PlayScala, SbtDistributablesPlugin)
.settings(
majorVersion := 0,
scalaVersion := "3.3.4",
libraryDependencies ++= AppDependencies.compile ++ AppDependencies.test,
TwirlKeys.templateImports ++= Seq(
"uk.gov.hmrc.buildanddeploycanaryservice.config.AppConfig",
"uk.gov.hmrc.govukfrontend.views.html.components._",
"uk.gov.hmrc.hmrcfrontend.views.html.components._",
"uk.gov.hmrc.hmrcfrontend.views.html.helpers._"
),
scalacOptions += "-Wconf:cat=unused-imports&src=html/.*:s",
scalacOptions += "-Wconf:cat=unused-imports&src=routes/.*:s",
Test / javaOptions ++= Seq("--add-opens", "java.base/java.util=ALL-UNNAMED") // required for reflection in EnvFixture
)
.settings(resolvers += Resolver.jcenterRepo)