From 006afa45933695a4adc57aef28ab12561ae0efa1 Mon Sep 17 00:00:00 2001 From: "Aaron S. Hawley" Date: Sat, 17 Dec 2016 10:51:03 -0500 Subject: [PATCH] Fix exclude rule for scala-xml from scala-compiler * build.sbt (libraryDependencies): There's no evidence that SBT supports Ivy's exclude globbing. See Ivy documentation http://ant.apache.org/ivy/history/2.4.0/ivyfile/artifact-exclude.html --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index c77c60fec..a63ec69cd 100644 --- a/build.sbt +++ b/build.sbt @@ -32,7 +32,7 @@ lazy val xml = crossProject.in(file(".")) OsgiKeys.exportPackage := Seq(s"scala.xml.*;version=${version.value}"), libraryDependencies += "junit" % "junit" % "4.11" % "test", libraryDependencies += "com.novocode" % "junit-interface" % "0.10" % "test", - libraryDependencies += ("org.scala-lang" % "scala-compiler" % scalaVersion.value % "test").exclude("org.scala-lang.modules", s"scala-xml*"), + libraryDependencies += ("org.scala-lang" % "scala-compiler" % scalaVersion.value % "test").exclude("org.scala-lang.modules", s"scala-xml_${scalaVersion.value}"), mimaPreviousVersion := Some("1.0.6")): _*) .jsConfigure(_.enablePlugins(ScalaJSJUnitPlugin))