mirror of https://github.com/sbt/sbt.git
Set mainProj/Test/classLoaderLayeringStrategy
The TestDependencies strategy doesn't work as of 1.3.0-RC1 because some of the tests need to access resources. The ScalaLibrary strategy is broken in 1.3.0-RC1. That leaves Flat. I tested that with 1.3.0-SNAPSHOT off the latest master, that the AllLibraryJars strategy works fine, but I need this change now to get travis to work.
This commit is contained in:
parent
5d08d82f3a
commit
8765710a88
|
|
@ -656,6 +656,7 @@ lazy val mainProj = (project in file("main"))
|
|||
sourceManaged in (Compile, generateContrabands) := baseDirectory.value / "src" / "main" / "contraband-scala",
|
||||
testOptions in Test += Tests
|
||||
.Argument(TestFrameworks.ScalaCheck, "-minSuccessfulTests", "1000"),
|
||||
Test / classLoaderLayeringStrategy := ClassLoaderLayeringStrategy.Flat, // Delete this after 1.3.0-RC2.
|
||||
mimaSettings,
|
||||
mimaBinaryIssueFilters ++= Vector(
|
||||
// New and changed methods on KeyIndex. internal.
|
||||
|
|
|
|||
Loading…
Reference in New Issue