Skip to content

Commit 4f30084

Browse files
committed
Undo JVM forking in test, reverting #112
* build.sbt (fork): SBT was leaking scala-xml from scala-compiler because of an incorrect library dependency exclude rule.
1 parent 288fe5f commit 4f30084

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Diff for: build.sbt

+1-5
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ lazy val xml = crossProject.in(file("."))
2929
libraryDependencies += "junit" % "junit" % "4.11" % "test",
3030
libraryDependencies += "com.novocode" % "junit-interface" % "0.10" % "test",
3131
libraryDependencies += ("org.scala-lang" % "scala-compiler" % scalaVersion.value % "test").exclude("org.scala-lang.modules", s"scala-xml_${scalaVersion.value}"),
32-
mimaPreviousVersion := Some("1.0.5"),
33-
// You cannot disable JVM test forking when working on scala modules
34-
// that are distributed with the compiler because of an SBT
35-
// classloader leaking issue (scala/scala-xml#20 and #112).
36-
fork in Test := true): _*)
32+
mimaPreviousVersion := Some("1.0.5")): _*)
3733
.jsConfigure(_.enablePlugins(ScalaJSJUnitPlugin))
3834

3935
lazy val xmlJVM = xml.jvm

0 commit comments

Comments
 (0)