Backport ScalaTest bump

This commit is contained in:
Eugene Yokota 2026-05-11 11:02:10 -04:00
parent e017c49165
commit cb010d6da3
3 changed files with 15 additions and 6 deletions

View File

@ -840,7 +840,7 @@ lazy val sbtClientProj = (project in file("client"))
bspEnabled := false,
crossPaths := false,
exportJars := true,
libraryDependencies += scalatest % Test,
libraryDependencies ++= Dependencies.scalatest,
Compile / mainClass := Some("sbt.client.Client"),
nativeImageReady := { () =>
()
@ -1172,11 +1172,11 @@ lazy val lmCore = (project in file("lm-core"))
scalaXml,
sjsonNewScalaJson.value % Optional,
sjsonNewCore.value % Optional,
scalatest % Test,
scalacheck % Test,
scalaVerify % Test,
hedgehog % Test,
),
libraryDependencies ++= Dependencies.scalatest,
Compile / resourceGenerators += Def
.task(
Utils.generateVersionFile(
@ -1230,11 +1230,11 @@ lazy val lmIvy = (project in file("lm-ivy"))
ivy,
sjsonNewScalaJson.value,
sjsonNewCore.value,
scalatest % Test,
scalacheck % Test,
scalaVerify % Test,
hedgehog % Test,
),
libraryDependencies ++= Dependencies.scalatest,
contrabandSettings,
Test / classLoaderLayeringStrategy := ClassLoaderLayeringStrategy.Flat,
mimaSettings,

View File

@ -84,7 +84,17 @@ object Dependencies {
val jline3Native = "org.jline" % "jline-native" % jline3Version
val jline3Reader = "org.jline" % "jline-reader" % jline3Version
val jline3Builtins = "org.jline" % "jline-builtins" % jline3Version
val scalatest = "org.scalatest" %% "scalatest" % "3.2.19"
val scalatest = Seq(
"scalatest-diagrams",
"scalatest-flatspec",
"scalatest-freespec",
"scalatest-funspec",
"scalatest-funsuite",
"scalatest-propspec",
"scalatest-shouldmatchers",
).map(
"org.scalatest" %% _ % "3.2.20" % Test
)
val scalacheck = "org.scalacheck" %% "scalacheck" % "1.19.0"
val junit = "junit" % "junit" % "4.13.2"
val scalaVerify = "com.eed3si9n.verify" %% "verify" % "1.0.0"

View File

@ -14,10 +14,9 @@ object NightlyPlugin extends AutoPlugin {
Seq(
scalacheck % Test,
junit % Test,
scalatest % Test,
scalaVerify % Test,
hedgehog % Test
)
) ++ scalatest
else Seq()
)
}