Skip to content

Commit b81b16f

Browse files
committed
add munit dependency to Test scope
1 parent 482dcce commit b81b16f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.sbt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ lazy val Version = "1.4.0"
22
lazy val Name = "introprog"
33
lazy val scala3 = "3.3.3"
44

5+
Global / onChangedBuildSource := ReloadOnSourceChanges
6+
57
// to avoid strange warnings, these lines with excludeLintKeys are needed:
68
Global / excludeLintKeys += ThisBuild / Compile / console / fork
79

@@ -10,13 +12,15 @@ lazy val introprog = (project in file("."))
1012
name := Name,
1113
version := Version,
1214
scalaVersion := scala3,
15+
libraryDependencies += "org.scalameta" %% "munit" % "0.7.29" % Test,
1316
)
1417

1518
ThisBuild / Compile / console / fork := true
1619

1720
//https://github.com/scalacenter/sbt-version-policy
1821
ThisBuild / versionScheme := Some("early-semver")
1922
ThisBuild / versionPolicyIntention := Compatibility.None
23+
//ThisBuild / versionPolicyIntention := Compatibility.None
2024
//ThisBuild / versionPolicyIntention := Compatibility.BinaryAndSourceCompatible
2125
//ThisBuild / versionPolicyIntention := Compatibility.BinaryCompatible
2226
//In the sbt shell check version using:

0 commit comments

Comments
 (0)