Skip to content

Commit 809e0ea

Browse files
committed
Fix exclude rule for circular dependency
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
1 parent 2e39287 commit 809e0ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ lazy val xml = crossProject.in(file("."))
5858
libraryDependencies += "junit" % "junit" % "4.11" % "test",
5959
libraryDependencies += "com.novocode" % "junit-interface" % "0.10" % "test",
6060
libraryDependencies += "org.apache.commons" % "commons-lang3" % "3.5" % "test",
61-
libraryDependencies += ("org.scala-lang" % "scala-compiler" % scalaVersion.value % "test").exclude("org.scala-lang.modules", s"scala-xml_${scalaVersion.value}")
61+
libraryDependencies += ("org.scala-lang" % "scala-compiler" % scalaVersion.value % "test").exclude("org.scala-lang.modules", s"scala-xml_${scalaBinaryVersion.value}")
6262
)
6363
.jsSettings(
6464
// Scala.js cannot run forked tests

0 commit comments

Comments
 (0)