Skip to content

Commit b9fd39b

Browse files
committed
override selenium driver and htmlnet
1 parent db855e8 commit b9fd39b

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

build.sbt

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,20 @@ ThisBuild / dockerBaseImage := "eclipse-temurin:8-jdk"
2929
* play-test pulls in both org.seleniumhq.selenium:htmlunit-driver and
3030
* io.fluentlenium:fluentlenium-core, which transitively bring in
3131
* net.sourceforge.htmlunit:htmlunit:2.70.0 with known security vulnerabilities.
32-
3332
* Override to a patched version. This can be removed once Play Framework upgrades
3433
* to versions of these libraries that no longer depend on a vulnerable htmlunit
3534
* (see https://github.com/playframework/playframework/releases).
3635
*/
37-
ThisBuild / dependencyOverrides += "org.htmlunit" % "htmlunit" % "4.21.0" % Test
36+
37+
ThisBuild / excludeDependencies ++= Seq(
38+
"net.sourceforge.htmlunit" % "htmlunit",
39+
"org.seleniumhq.selenium" % "htmlunit-driver"
40+
)
41+
42+
ThisBuild / libraryDependencies ++= Seq(
43+
"org.htmlunit" % "htmlunit" % "4.21.0" % Test,
44+
"org.seleniumhq.selenium" % "htmlunit3-driver" % "4.27.0" % Test
45+
)
3846

3947
val compilerOptions = Seq(
4048
"-deprecation",

0 commit comments

Comments
 (0)