Skip to content

Commit 319d406

Browse files
authored
Merge pull request #176 from SimY4/exclude-vuln-junit
Exclude vulnerable JUnit version from compile dependencies.
2 parents 9dfdf47 + d143477 commit 319d406

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

build.sbt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ lazy val functionaljavaQuickcheck = (project in file("functionaljava-quickcheck"
7878
description := "Functionaljava quickcheck bindings for coregex library.",
7979
headerEndYear := Some(2025),
8080
libraryDependencies ++= Seq(
81-
"org.functionaljava" % "functionaljava-quickcheck" % "5.0" % Provided,
82-
"junit" % "junit" % "4.13.2" % Test,
81+
"org.functionaljava" % "functionaljava-quickcheck" % "5.0" % Provided exclude("junit", "junit"),
8382
"com.github.sbt" % "junit-interface" % "0.13.3" % Test
8483
),
8584
testOptions += Tests.Argument(TestFrameworks.JUnit, "-q", "-v")
@@ -114,9 +113,8 @@ lazy val junitQuickcheck = (project in file("junit-quickcheck"))
114113
description := "JUnit Quickcheck bindings for coregex library.",
115114
headerEndYear := Some(2025),
116115
libraryDependencies ++= Seq(
117-
"com.pholser" % "junit-quickcheck-core" % "1.0" % Provided,
116+
"com.pholser" % "junit-quickcheck-core" % "1.0" % Provided exclude("junit", "junit"),
118117
"com.pholser" % "junit-quickcheck-generators" % "1.0" % Test,
119-
"junit" % "junit" % "4.13.2" % Test,
120118
"org.slf4j" % "slf4j-simple" % "1.7.25" % Test,
121119
"com.github.sbt" % "junit-interface" % "0.13.3" % Test
122120
),

0 commit comments

Comments
 (0)