diff --git a/project/Dependencies.scala b/project/Dependencies.scala index e3d63cb1f..03cd856f5 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -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" diff --git a/sbt/src/sbt-test/compiler-project/run-test/build.sbt b/sbt/src/sbt-test/compiler-project/run-test/build.sbt index 1e2352020..af714fb9e 100644 --- a/sbt/src/sbt-test/compiler-project/run-test/build.sbt +++ b/sbt/src/sbt-test/compiler-project/run-test/build.sbt @@ -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, ) diff --git a/sbt/src/sbt-test/dependency-management/cached-resolution-classifier/multi.sbt b/sbt/src/sbt-test/dependency-management/cached-resolution-classifier/multi.sbt index 228ce4926..f9321ed10 100644 --- a/sbt/src/sbt-test/dependency-management/cached-resolution-classifier/multi.sbt +++ b/sbt/src/sbt-test/dependency-management/cached-resolution-classifier/multi.sbt @@ -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) } diff --git a/sbt/src/sbt-test/dependency-management/cached-resolution-interproj/multi.sbt b/sbt/src/sbt-test/dependency-management/cached-resolution-interproj/multi.sbt index 71e415ddc..e5b6ea9d3 100644 --- a/sbt/src/sbt-test/dependency-management/cached-resolution-interproj/multi.sbt +++ b/sbt/src/sbt-test/dependency-management/cached-resolution-interproj/multi.sbt @@ -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" diff --git a/sbt/src/sbt-test/dependency-management/ext-pom-classifier/pom.xml b/sbt/src/sbt-test/dependency-management/ext-pom-classifier/pom.xml index 414bc70fc..9fd80ac18 100644 --- a/sbt/src/sbt-test/dependency-management/ext-pom-classifier/pom.xml +++ b/sbt/src/sbt-test/dependency-management/ext-pom-classifier/pom.xml @@ -70,7 +70,7 @@ http://maven.apache.org/maven-v4_0_0.xsd"> junit junit - 4.11 + 4.13.1 test diff --git a/sbt/src/sbt-test/dependency-management/invalidate-internal/changes/b.sbt b/sbt/src/sbt-test/dependency-management/invalidate-internal/changes/b.sbt index 6d4e04264..25f96212f 100644 --- a/sbt/src/sbt-test/dependency-management/invalidate-internal/changes/b.sbt +++ b/sbt/src/sbt-test/dependency-management/invalidate-internal/changes/b.sbt @@ -1 +1 @@ -libraryDependencies += "junit" % "junit" % "4.5" +libraryDependencies += "junit" % "junit" % "4.13.1" diff --git a/sbt/src/sbt-test/dependency-management/ivy-settings-multi-a/build.sbt b/sbt/src/sbt-test/dependency-management/ivy-settings-multi-a/build.sbt index 12b354173..f06c111fb 100644 --- a/sbt/src/sbt-test/dependency-management/ivy-settings-multi-a/build.sbt +++ b/sbt/src/sbt-test/dependency-management/ivy-settings-multi-a/build.sbt @@ -16,6 +16,6 @@ lazy val use = project. dependsOn(dep). settings( commonSettings, - libraryDependencies += "junit" % "junit" % "4.5", + libraryDependencies += "junit" % "junit" % "4.13.1", externalIvySettings() ) diff --git a/sbt/src/sbt-test/dependency-management/module-confs/common.sbt b/sbt/src/sbt-test/dependency-management/module-confs/common.sbt index 42eea6e28..86036e170 100644 --- a/sbt/src/sbt-test/dependency-management/module-confs/common.sbt +++ b/sbt/src/sbt-test/dependency-management/module-confs/common.sbt @@ -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 diff --git a/sbt/src/sbt-test/dependency-management/mvn-local/changes/libDeps.sbt b/sbt/src/sbt-test/dependency-management/mvn-local/changes/libDeps.sbt index f61fd2191..25f96212f 100644 --- a/sbt/src/sbt-test/dependency-management/mvn-local/changes/libDeps.sbt +++ b/sbt/src/sbt-test/dependency-management/mvn-local/changes/libDeps.sbt @@ -1 +1 @@ -libraryDependencies += "junit" % "junit" % "4.11" +libraryDependencies += "junit" % "junit" % "4.13.1" diff --git a/sbt/src/sbt-test/project/continuations/build.sbt b/sbt/src/sbt-test/project/continuations/build.sbt index a74d681e4..f64801e68 100644 --- a/sbt/src/sbt-test/project/continuations/build.sbt +++ b/sbt/src/sbt-test/project/continuations/build.sbt @@ -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" )