bump JUnit

There's a security advisory on JUnit 4.
This commit is contained in:
Eugene Yokota 2020-10-17 02:50:10 -04:00
parent 2dc799b2bd
commit 7ba59dba9a
10 changed files with 11 additions and 11 deletions

View File

@ -94,7 +94,7 @@ object Dependencies {
val scalatest = "org.scalatest" %% "scalatest" % "3.0.8"
val scalacheck = "org.scalacheck" %% "scalacheck" % "1.14.0"
val specs2 = "org.specs2" %% "specs2-junit" % "4.10.0"
val junit = "junit" % "junit" % "4.11"
val junit = "junit" % "junit" % "4.13.1"
val scalaVerify = "com.eed3si9n.verify" %% "verify" % "0.2.0"
val templateResolverApi = "org.scala-sbt" % "template-resolver" % "0.1"

View File

@ -2,7 +2,7 @@ scalaVersion in ThisBuild := "2.12.3"
libraryDependencies ++= Seq(
"com.novocode" % "junit-interface" % "0.5" % Test,
"junit" % "junit" % "4.8" % Test,
"junit" % "junit" % "4.13.1" % Test,
"commons-io" % "commons-io" % "2.5" % Runtime,
)

View File

@ -25,7 +25,7 @@ lazy val transitiveTest = project.
settings(commonSettings: _*).
settings(
libraryDependencies := Seq(
"junit" % "junit" % "4.11" % "test"
"junit" % "junit" % "4.13.1" % "test"
)
)
@ -90,7 +90,7 @@ lazy val root = (project in file(".")).
val atestcp = (externalDependencyClasspath in Test in a).value.map {_.data.getName}.sorted filterNot { _ == "commons-io-1.4.jar"}
val btestcp = (externalDependencyClasspath in Test in b).value.map {_.data.getName}.sorted filterNot { _ == "commons-io-1.4.jar"}
val ctestcp = (externalDependencyClasspath in Test in c).value.map {_.data.getName}.sorted filterNot { _ == "demo_2.10.jar"} filterNot { _ == "commons-io-1.4.jar"}
if (ctestcp contains "junit-4.11.jar") {
if (ctestcp contains "junit-4.13.1.jar") {
sys.error("junit found when it should be excluded: " + ctestcp.toString)
}

View File

@ -1,7 +1,7 @@
// https://github.com/sbt/sbt/issues/1730
lazy val check = taskKey[Unit]("Runs the check")
val scalatest = "org.scalatest" %% "scalatest" % "3.0.5"
val junit = "junit" % "junit" % "4.11"
val junit = "junit" % "junit" % "4.13.1"
ThisBuild / scalaVersion := "2.12.12"
ThisBuild / csrCacheDirectory := (ThisBuild / baseDirectory).value / "coursier-cache"

View File

@ -70,7 +70,7 @@ http://maven.apache.org/maven-v4_0_0.xsd">
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
</dependencies>

View File

@ -1 +1 @@
libraryDependencies += "junit" % "junit" % "4.5"
libraryDependencies += "junit" % "junit" % "4.13.1"

View File

@ -16,6 +16,6 @@ lazy val use = project.
dependsOn(dep).
settings(
commonSettings,
libraryDependencies += "junit" % "junit" % "4.5",
libraryDependencies += "junit" % "junit" % "4.13.1",
externalIvySettings()
)

View File

@ -4,7 +4,7 @@ ivyScala ~= { (is: Option[IvyScala]) => is.map(_.copy(checkExplicit = false, ove
ivyPaths := baseDirectory( dir => IvyPaths(dir, Some(dir / "ivy-home"))).value
libraryDependencies += "junit" % "junit" % "4.8"
libraryDependencies += "junit" % "junit" % "4.13.1"
autoScalaLibrary := false

View File

@ -1 +1 @@
libraryDependencies += "junit" % "junit" % "4.11"
libraryDependencies += "junit" % "junit" % "4.13.1"

View File

@ -7,7 +7,7 @@ addCompilerPlugin("org.scala-lang.plugins" % "continuations" % "2.8.1")
scalacOptions += "-P:continuations:enable"
libraryDependencies ++= Seq(
"junit" % "junit" % "4.7" % "test",
"junit" % "junit" % "4.13.1" % "test",
"com.novocode" % "junit-interface" % "0.5" % "test"
)