Skip to content

Commit 7ec0fed

Browse files
committed
Fix build issue caused by scala-xml version conflict
The build failed with ``` [error] java.lang.RuntimeException: found version conflict(s) in library dependencies; some are suspected to be binary incompatible: [error] [error] * org.scala-lang.modules:scala-xml_2.12:2.1.0 (early-semver) is selected over {1.0.6} [error] +- org.scoverage:scalac-scoverage-reporter_2.12:2.0.7 (depends on 2.1.0) ``` See also scala/bug#12632
1 parent 3c87dae commit 7ec0fed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

project/plugins.sbt

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
ThisBuild / libraryDependencySchemes ++= Seq(
2+
"org.scala-lang.modules" %% "scala-xml" % VersionScheme.Always
3+
)
4+
15
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.6")
26
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.1")
37
addSbtPlugin("com.github.sbt" % "sbt-ghpages" % "0.7.0")

0 commit comments

Comments
 (0)