Fix BC issue discovered in #1696.

Def.derive has a new parameter, so we add an override which delegates down to the new method.
This commit is contained in:
Josh Suereth 2014-10-28 10:21:41 -04:00
parent bd2fef571e
commit fe712173f3
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) 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 * 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`. * is explicitly defined and the where the scope matches `filter`.