mirror of https://github.com/sbt/sbt.git
When Test / autoScalaLibrary := false, build the non-fork test classloader without the ScalaInstance layer: use Flat strategy and project classpath only (rawCP), so tests do not see sbt's scala-library and avoid NoSuchMethodError / version mismatch (e.g. scala/scala build). - ClassLoaders.testTask: read autoScalaLibrary; when false use Flat and rawCP-only fullCP, and do not add si.libraryJars to exclude. - Add scripted test tests/autoScalaLibrary-test-loader that runs test with Test / autoScalaLibrary := false. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||