Skip to content

Commit

Permalink
Fix exclude rule for scala-xml from scala-compiler
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ashawley committed Apr 26, 2017
1 parent 383f5fa commit d1f54f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,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"),
// You cannot disable JVM test forking when working on scala modules
// that are distributed with the compiler because of an SBT
Expand Down

0 comments on commit d1f54f3

Please sign in to comment.