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
..
ContrabandConfig.scala
Dependencies.scala Subsume platform cross building 2023-03-12 13:38:56 -04:00
Docs.scala Format main 2023-01-15 23:43:19 -05:00
HouseRulesPlugin.scala Cats-like typeclasses 2023-01-15 23:40:56 -05:00
NightlyPlugin.scala Use scala-xml_3 instead 2023-01-15 23:50:30 -05:00
PublishBinPlugin.scala Format main 2023-01-15 23:43:19 -05:00
SbtLauncherPlugin.scala Use sbt 1.5.1 2021-05-02 23:41:55 -04:00
Scripted.scala Use launcher scripted tests 2023-01-15 23:50:27 -05:00
Transform.scala Format main 2023-01-15 23:43:19 -05:00
Util.scala Format main 2023-01-15 23:43:19 -05:00
build.properties inline parameter removes let binding 2023-01-15 23:50:29 -05:00
flamegraph_svg.png
plugins.sbt Contraband 0.5.3 2023-01-15 23:42:03 -05:00