mirror of https://github.com/sbt/sbt.git
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:
parent
bd2fef571e
commit
fe712173f3
|
|
@ -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`.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue