Open thesamet opened 3 years ago
To underline the point:
It doesn't make sense to have plugins like sbt-scalafmt
or sbt-header
enabled for all sub-projects/modules that share the same sources files. To complicate the matter: it does make sense to run those plugins on the source directories that are specific to the respective scala version or platform, i.e. /scala-2.13
or /scalajs
.
It would be desirable to have a way (or if one already exists to document it), to enable an sbt plugin for a specific platform in the matrix. For example, scalajs-bundler's instructions suggest to install like this:
It looks like the only way in sbt-projectmatrix right now to transform a
Project
is by callingcustomRow()
directly, however that would require me to copy-paste the definition ofjsPlatform
in my own SBT build and modify it accordingly.