Skip to content

Commit 2067ae9

Browse files
committed
Fork in Test is done by modules plugin 1.0.2
1 parent efdab4d commit 2067ae9

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

build.sbt

-15
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ libraryDependencies += "com.novocode" % "junit-interface" % "0.10" % "test"
2323
// used in CompilerErrors test
2424
libraryDependencies += ("org.scala-lang" % "scala-compiler" % scalaVersion.value % "test").exclude("org.scala-lang.modules", s"scala-xml*")
2525

26-
// needed to fix classloader issues (see #20)
27-
// alternatively, manage the scala instance as shown below (commented)
28-
fork in Test := true
29-
3026
MimaPlugin.mimaDefaultSettings
3127

3228
MimaKeys.previousArtifact := Some(organization.value % s"${name.value}_2.11.0-RC1" % "1.0.0")
@@ -36,14 +32,3 @@ test in Test := {
3632
MimaKeys.reportBinaryIssues.value
3733
(test in Test).value
3834
}
39-
40-
// ALTERNATIVE: manage the Scala instance ourselves to exclude the published scala-xml (scala-compiler depends on it)
41-
// since this dependency hides the classes we're testing
42-
// managedScalaInstance := false
43-
//
44-
// ivyConfigurations += Configurations.ScalaTool
45-
//
46-
// libraryDependencies ++= Seq(
47-
// "org.scala-lang" % "scala-library" % scalaVersion.value,
48-
// ("org.scala-lang" % "scala-compiler" % scalaVersion.value % "scala-tool").exclude("org.scala-lang.modules", s"scala-xml_${scalaBinaryVersion.value}")
49-
// )

0 commit comments

Comments
 (0)