Skip to content

Commit

Permalink
Update the scala-xml dependency to 2.1.0 where available
Browse files Browse the repository at this point in the history
  • Loading branch information
vasilmkd committed Feb 8, 2023
1 parent 45da50f commit 74f89b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ lazy val core = project.in(file("core"))
(ThisBuild / baseDirectory).value / "shared" / "src" / "main" / "scala",
libraryDependencies ++= {
CrossVersion.partialVersion(scalaBinaryVersion.value) match {
case Some((2, scalaMajor)) if scalaMajor >= 11 =>
case Some((2, scalaMajor)) if scalaMajor >= 12 =>
Seq("org.scala-lang.modules" %% "scala-xml" % "2.1.0")
case Some((2, 11)) =>
Seq("org.scala-lang.modules" %% "scala-xml" % "1.3.0")
case _ =>
Seq.empty
Expand Down

0 comments on commit 74f89b4

Please sign in to comment.