Merge pull request #1698 from sbt/wip/bc-regression

Fix BC issue discovered in #1696.
This commit is contained in:
Josh Suereth 2014-10-28 14:35:40 -04:00
commit da880abe51
1 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,10 @@ trait Init[Scope] {
*/
private[sbt] final def validated[T](key: ScopedKey[T], selfRefOk: Boolean): ValidationCapture[T] = new ValidationCapture(key, selfRefOk)
@deprecated("0.13.7", "Use the version with default arguments and default paramter.")
final def derive[T](s: Setting[T], allowDynamic: Boolean, filter: Scope => Boolean, trigger: AttributeKey[_] => Boolean): Setting[T] =
derive(s, allowDynamic, filter, trigger, false)
/**
* Constructs a derived setting that will be automatically defined in every scope where one of its dependencies
* is explicitly defined and the where the scope matches `filter`.