diff --git a/build.sbt b/build.sbt index c0e1bb5c4..cb27cd845 100644 --- a/build.sbt +++ b/build.sbt @@ -37,3 +37,8 @@ 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*") mimaPreviousVersion := Some("1.0.5") + +// You cannot disable JVM test forking when working on scala modules +// that are distributed with the compiler because of an SBT +// classloader leaking issue (scala/scala-xml#20 and #112). +fork in Test := true