sbt/project
Eugene Yokota 12d46e3fce Make ModuleID#cross(...) preserve existing prefix
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.
2021-01-23 15:47:33 -05:00
..
DatatypeConfig.scala Add for3Use2_13 and for2_13Use3 2021-01-08 18:25:01 +01:00
Dependencies.scala Make ModuleID#cross(...) preserve existing prefix 2021-01-23 15:47:33 -05:00
HouseRulesPlugin.scala Use Bintray for nightly 2020-11-15 00:58:52 -05:00
SbtScriptedIT.scala in-source sbt-houserules 2019-10-19 19:53:11 -04:00
Util.scala Use Bintray for nightly 2020-11-15 00:58:52 -05:00
build.properties Update to Scala 2.12.13 + 2.13.4 2021-01-17 04:18:49 -05:00
plugins.sbt Update plugins.sbt 2020-12-21 13:47:50 +00:00