Skip to content

Commit

Permalink
Fork in Test is done by modules plugin 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
adriaanm committed Mar 17, 2014
1 parent efdab4d commit 2067ae9
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ libraryDependencies += "com.novocode" % "junit-interface" % "0.10" % "test"
// used in CompilerErrors test
libraryDependencies += ("org.scala-lang" % "scala-compiler" % scalaVersion.value % "test").exclude("org.scala-lang.modules", s"scala-xml*")

// needed to fix classloader issues (see #20)
// alternatively, manage the scala instance as shown below (commented)
fork in Test := true

MimaPlugin.mimaDefaultSettings

MimaKeys.previousArtifact := Some(organization.value % s"${name.value}_2.11.0-RC1" % "1.0.0")
Expand All @@ -36,14 +32,3 @@ test in Test := {
MimaKeys.reportBinaryIssues.value
(test in Test).value
}

// ALTERNATIVE: manage the Scala instance ourselves to exclude the published scala-xml (scala-compiler depends on it)
// since this dependency hides the classes we're testing
// managedScalaInstance := false
//
// ivyConfigurations += Configurations.ScalaTool
//
// libraryDependencies ++= Seq(
// "org.scala-lang" % "scala-library" % scalaVersion.value,
// ("org.scala-lang" % "scala-compiler" % scalaVersion.value % "scala-tool").exclude("org.scala-lang.modules", s"scala-xml_${scalaBinaryVersion.value}")
// )

0 comments on commit 2067ae9

Please sign in to comment.