Skip to content

Commit

Permalink
Fix exclude rule for circular dependency
Browse files Browse the repository at this point in the history
Despite my effort in scala#126, the exclude rule was using the full scala
version number, when it should only be the binary version, e.g. 2.12
  • Loading branch information
ashawley committed Jan 10, 2018
1 parent 2e39287 commit 809e0ea
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 @@ -58,7 +58,7 @@ lazy val xml = crossProject.in(file("."))
libraryDependencies += "junit" % "junit" % "4.11" % "test",
libraryDependencies += "com.novocode" % "junit-interface" % "0.10" % "test",
libraryDependencies += "org.apache.commons" % "commons-lang3" % "3.5" % "test",
libraryDependencies += ("org.scala-lang" % "scala-compiler" % scalaVersion.value % "test").exclude("org.scala-lang.modules", s"scala-xml_${scalaVersion.value}")
libraryDependencies += ("org.scala-lang" % "scala-compiler" % scalaVersion.value % "test").exclude("org.scala-lang.modules", s"scala-xml_${scalaBinaryVersion.value}")
)
.jsSettings(
// Scala.js cannot run forked tests
Expand Down

0 comments on commit 809e0ea

Please sign in to comment.