Skip to content

Commit 25825ac

Browse files
committed
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
1 parent da81d89 commit 25825ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ lazy val xml = crossProject.in(file("."))
2828
OsgiKeys.exportPackage := Seq(s"scala.xml.*;version=${version.value}"),
2929
libraryDependencies += "junit" % "junit" % "4.11" % "test",
3030
libraryDependencies += "com.novocode" % "junit-interface" % "0.10" % "test",
31-
libraryDependencies += ("org.scala-lang" % "scala-compiler" % scalaVersion.value % "test").exclude("org.scala-lang.modules", s"scala-xml*"),
31+
libraryDependencies += ("org.scala-lang" % "scala-compiler" % scalaVersion.value % "test").exclude("org.scala-lang.modules", s"scala-xml_${scalaVersion.value}"),
3232
mimaPreviousVersion := Some("1.0.6"),
3333
// You cannot disable JVM test forking when working on scala modules
3434
// that are distributed with the compiler because of an SBT

0 commit comments

Comments
 (0)