mirror of https://github.com/sbt/sbt.git
Fixes https://github.com/sbt/sbt/issues/6280 sbt-platform-deps implements `%%%` operator in https://github.com/portable-scala/sbt-platform-deps/blob/v1.0.0/src/main/scala/org/portablescala/sbtplatformdeps/PlatformDepsBuilders.scala#L36-L43 by setting the prefix field on `sbt.librarymanagement.Binary(...)`. Currently `.cross(...)` would wipe this out, so `%%%` and `cross(CrossVersion.for3Use2_13)` do not compose. This changes the implementation of `.cross(...)` so it can be chained together and it will try to preserve the prefix (and suffix) values from the existing `crossVersion` values. This should fix the 2.13-3.x sandwich on Scala.JS and Scala Native. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||