We are starting to use sbt-buildinfo in Scala.js core (scala-js/scala-js#4660) to replace a hand-built version of it.
However, we mostly need this in the test configuration. We can currently achieve this by:
- No enabling
BuildInfoPlugin
- Adding
BuildInfoPlugin.buildInfoDefaultSettings, BuildInfoPlugin.buildInfoScopedSettings(Test) to the relevant project's setting.
Should we add an "official" way of doing this?
We are starting to use sbt-buildinfo in Scala.js core (scala-js/scala-js#4660) to replace a hand-built version of it.
However, we mostly need this in the test configuration. We can currently achieve this by:
BuildInfoPluginBuildInfoPlugin.buildInfoDefaultSettings,BuildInfoPlugin.buildInfoScopedSettings(Test)to the relevant project's setting.Should we add an "official" way of doing this?