Files
sbt/project
Eugene Yokota 72af500294 Subsume platform cross building
Problem
-------
In sbt 1, platform cross building is implemented using in the user-land
using `%%%` operator, which clevery handles both Scala cross building
and appending platform suffix like sjs1.
However, in general symbolic `%%%` is confusing, and hard to explain.

Solution
--------
In sbt 2, we should subsume the idea of platform cross building,
so `%%` can act as the current `%%%` operator.
This adds a new setting called `platform`, which defaults to
`Platform.jvm` by default.
When a subprojects sets it to `Platform.sjs1`, `ModuleID`s defined using
`%%` operator will inject the platform suffix `_sjs1` **in addition**
to the Scala binary suffix `_2.13` etc.

Note: Explicit JVM dependencies will now require `.platform(Platform.jvm)`.
2023-03-12 13:38:56 -04:00
..
2023-01-15 23:43:19 -05:00
2018-04-04 01:29:56 -04:00
2023-01-15 23:40:56 -05:00
2023-01-15 23:50:30 -05:00
2023-01-15 23:42:03 -05:00
2023-01-15 23:43:19 -05:00
2021-05-02 23:41:55 -04:00
2023-01-15 23:50:27 -05:00
2023-01-15 23:43:19 -05:00
2023-01-15 23:43:19 -05:00