upgrade test dependencies used by docker-client (#389)

Update Dependencies.scala
This commit is contained in:
PJ Fanning 2023-06-13 11:56:03 +01:00 committed by GitHub
parent 2d678ca8b2
commit 71da3008ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,10 +150,14 @@ object Dependencies {
}
object TestDependencies {
val bcpkix = "org.bouncycastle" % "bcpkix-jdk15on" % "1.68" % Test
val commonsMath = "org.apache.commons" % "commons-math" % "2.2" % Test
val commonsIo = "commons-io" % "commons-io" % "2.11.0" % Test
val commonsCodec = "commons-codec" % "commons-codec" % "1.15" % Test
val junit = "junit" % "junit" % junitVersion % "test"
val commonsCompress = "org.apache.commons" % "commons-compress" % "1.23.0" % Test
val junit = "junit" % "junit" % junitVersion % Test
val httpClient = "org.apache.httpcomponents" % "httpclient" % "4.5.14" % Test
val logback = Compile.logback % Test
val scalatest = Def.setting { "org.scalatest" %% "scalatest" % scalaTestVersion.value % Test } // ApacheV2
@ -262,12 +266,19 @@ object Dependencies {
TestDependencies.scalatest.value,
TestDependencies.scalatestJUnit.value,
TestDependencies.scalatestScalaCheck.value,
TestDependencies.bcpkix, // to force TestDependencies.dockerClient to use safe version of this lib
TestDependencies.commonsCodec,
TestDependencies.commonsCompress, // to force TestDependencies.dockerClient to use safe version of this lib
TestDependencies.commonsIo, // to force TestDependencies.dockerClient to use safe version of this lib
TestDependencies.commonsMath,
TestDependencies.httpClient, // to force TestDependencies.dockerClient to use safe version of this lib
TestDependencies.jimfs,
TestDependencies.dockerClient,
Provided.activation // dockerClient needs javax.activation.DataSource in JDK 11+
) ++ TestDependencies.jackson.value // TestDependencies.dockerClient bring in older versions of Jackson which has CVEs
) ++ {
// TestDependencies.dockerClient bring in older versions of libs that have CVEs
TestDependencies.jackson.value
}
val actorTestkitTyped = l ++= Seq(
Provided.logback,