Skip to content

Commit

Permalink
Document why JVM forking has to be used in SBT
Browse files Browse the repository at this point in the history
Add a comment with a description of the issue by Antoine Gourlay and
refer to the relevant GitHub issues.
  • Loading branch information
ashawley committed Oct 27, 2016
1 parent 713d2d9 commit 150a237
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 150a237

Please sign in to comment.