mirror of https://github.com/sbt/sbt.git
Fixes #7511 The previous check used contains("scala-library") which incorrectly matched any jar with that substring anywhere in the filename, causing user libraries named like "my-scala-library-foo" to be misclassified as the Scala standard library and filtered from the classpath. Changed to use exact match (scala-library.jar) or prefix match (scala-library-*) to only match the actual Scala library jars, consistent with how scala-reflect is detected on line 199. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||