mirror of https://github.com/sbt/sbt.git
873 B
873 B
Fixes with compatibility implications
- In sbt 1.2,
ScriptedPluginis no longer triggered automatically. This allows easier use of the plugin in a multi-project build. We recommend migration toSbtPlugin. #3514/#3875 by @eed3si9n scriptedBufferLogandscriptedLaunchOptssettings are changed so they are scoped globally.
Features
- Adds
SbtPlugin. See below.
Bug fixes
SbtPlugin
SbtPlugin is a new plugin that represents sbt plugin projects.
lazy val fooPlugin = (project in file("plugin"))
.enablePlugins(SbtPlugin)
This sets sbtPlugin setting to true, and brings in the new non-triggered ScriptedPlugin.