From 5083a5e35c30fb0a6919ed9bd5d5ffbb1c3a85e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rui=20Gonc=CC=A7alves?= Date: Tue, 26 Jul 2022 22:19:38 +0100 Subject: [PATCH] Use scala-xml 2.1.0 on all Scala versions --- build.sbt | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/build.sbt b/build.sbt index 54a80214..23aaa504 100644 --- a/build.sbt +++ b/build.sbt @@ -158,16 +158,7 @@ lazy val reporter = project .settings( name := "scalac-scoverage-reporter", - libraryDependencies += CrossVersion - .partialVersion( - scalaVersion.value - ) - .map { - // Lock this for 2.12 to align with the compiler - // https://github.com/scala/scala/pull/9743 - case ((2, 12)) => "org.scala-lang.modules" %% "scala-xml" % "1.0.6" - case _ => "org.scala-lang.modules" %% "scala-xml" % "2.1.0" - }, + libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % "2.1.0", sharedSettings, crossScalaVersions := Seq(defaultScala212, defaultScala213, defaultScala3) )