Skip to content

Commit 903c2b6

Browse files
fix: Exclude htmlunit dependency to resolve security vulnerability (#596)
1 parent 22345e4 commit 903c2b6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.sbt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@ lazy val root: Project = (project in file("."))
9797
++ jacksonOverrides
9898
++ pekkoSerializationJacksonOverrides,
9999
dependencyOverrides += "org.scala-lang.modules" %% "scala-java8-compat" % "1.0.2", // Avoid binary incompatibility error.
100+
// See https://github.com/guardian/janus-app/security/dependabot/19
101+
excludeDependencies += ExclusionRule(
102+
organization = "net.sourceforge.htmlunit",
103+
name = "htmlunit"
104+
),
100105

101106
// local development
102107
playDefaultPort := 9100,

0 commit comments

Comments
 (0)