sbt/notes/1.2.0/scripted-change.md

873 B

Fixes with compatibility implications

  • In sbt 1.2, ScriptedPlugin is no longer triggered automatically. This allows easier use of the plugin in a multi-project build. We recommend migration to SbtPlugin. #3514/#3875 by @eed3si9n
  • scriptedBufferLog and scriptedLaunchOpts settings 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.

#3875 by @eed3si9n