-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
25 lines (20 loc) · 856 Bytes
/
build.sbt
File metadata and controls
25 lines (20 loc) · 856 Bytes
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
import uk.gov.hmrc.DefaultBuildSettings.targetJvm
ThisBuild / majorVersion := 0
ThisBuild / scalaVersion := "3.8.3"
ThisBuild / targetJvm := "jvm-21"
ThisBuild / isPublicArtefact := false
ThisBuild / scalacOptions ++= Seq("-feature", "-Wconf:msg=Flag .* set repeatedly:s")
lazy val library = Project("vo-test", file("."))
.settings(publish / skip := true)
.aggregate(voUnitTest, voIntegrationTest)
.disablePlugins(JUnitXmlReportPlugin)
lazy val voUnitTest = Project("vo-unit-test", file("vo-unit-test"))
.settings(
libraryDependencies ++= LibDependencies.unitTestDependencies
)
lazy val voIntegrationTest = Project("vo-integration-test", file("vo-integration-test"))
.settings(
libraryDependencies ++= LibDependencies.integrationTestDependencies
)
.dependsOn(voUnitTest)
addCommandAlias("precommit", "scalafmtSbt;scalafmtAll")