Skip to content

Commit a6eb374

Browse files
authored
Use scala-xml 2.1.0 on all Scala versions (#488)
1 parent 96979ff commit a6eb374

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

build.sbt

+1-10
Original file line numberDiff line numberDiff line change
@@ -158,16 +158,7 @@ lazy val reporter =
158158
project
159159
.settings(
160160
name := "scalac-scoverage-reporter",
161-
libraryDependencies += CrossVersion
162-
.partialVersion(
163-
scalaVersion.value
164-
)
165-
.map {
166-
// Lock this for 2.12 to align with the compiler
167-
// https://github.com/scala/scala/pull/9743
168-
case ((2, 12)) => "org.scala-lang.modules" %% "scala-xml" % "1.0.6"
169-
case _ => "org.scala-lang.modules" %% "scala-xml" % "2.1.0"
170-
},
161+
libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % "2.1.0",
171162
sharedSettings,
172163
crossScalaVersions := Seq(defaultScala212, defaultScala213, defaultScala3)
173164
)

0 commit comments

Comments
 (0)