sbt

Def

object Def extends Init[Scope] with TaskMacroExtra

A concrete settings system that uses sbt.Scope for the scope type.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Def
  2. TaskMacroExtra
  3. Init
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Classpath = Seq[Attributed[File]]

  2. final class Compiled[T] extends AnyRef

    Definition Classes
    Init
  3. type CompiledMap = Map[ScopedKey[_], Compiled[_]]

    Definition Classes
    Init
  4. final class Flattened extends AnyRef

    Definition Classes
    Init
  5. sealed trait Initialize[T] extends AnyRef

    Definition Classes
    Init
  6. sealed trait Keyed[S, T] extends Initialize[T]

    Definition Classes
    Init
  7. trait KeyedInitialize[T] extends Keyed[T, T]

    Definition Classes
    Init
  8. type MapConstant = ~>[ScopedKey, Option]

    Definition Classes
    Init
  9. type MapScoped = ~>[ScopedKey, ScopedKey]

    Definition Classes
    Init
  10. final class RuntimeUndefined extends RuntimeException

    Definition Classes
    Init
  11. type ScopeLocal = (ScopedKey[_]) ⇒ Seq[Setting[_]]

    Definition Classes
    Init
  12. final case class ScopedKey[T](scope: Scope, key: AttributeKey[T]) extends KeyedInitialize[T] with Product with Serializable

    Definition Classes
    Init
  13. type ScopedMap = IMap[ScopedKey, SettingSeq]

    Definition Classes
    Init
  14. sealed class Setting[T] extends SettingsDefinition

    Definition Classes
    Init
  15. final class SettingList extends SettingsDefinition

    Definition Classes
    Init
  16. type SettingSeq[T] = Seq[Setting[T]]

    Definition Classes
    Init
  17. sealed trait SettingsDefinition extends AnyRef

    Definition Classes
    Init
  18. final class Undefined extends AnyRef

    Definition Classes
    Init
  19. final class Uninitialized extends Exception

    Definition Classes
    Init
  20. type ValidateRef = ~>[ScopedKey, ValidatedRef]

    Definition Classes
    Init
  21. type ValidatedInit[T] = Either[Seq[Undefined], Initialize[T]]

    Definition Classes
    Init
  22. type ValidatedRef[T] = Either[Undefined, ScopedKey[T]]

    Definition Classes
    Init

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object DefaultSetting

    Definition Classes
    Init
  7. object Initialize

    Definition Classes
    Init
  8. object SettingsDefinition

    Definition Classes
    Init
  9. def Undefined(defining: Setting[_], referencedKey: ScopedKey[_]): Undefined

    Definition Classes
    Init
  10. def Uninitialized(validKeys: Seq[ScopedKey[_]], delegates: (Scope) ⇒ Seq[Scope], keys: Seq[Undefined], runtime: Boolean)(implicit display: Show[ScopedKey[_]]): Uninitialized

    Definition Classes
    Init
  11. def add[T](m: ScopedMap, s: Setting[T]): ScopedMap

    Definition Classes
    Init
  12. def addLocal(init: Seq[Setting[_]])(implicit scopeLocal: (ScopedKey[_]) ⇒ Seq[Setting[_]]): Seq[Setting[_]]

    Definition Classes
    Init
  13. def app[K[L[x]], T](inputs: K[Initialize])(f: (K[Types.Id]) ⇒ T)(implicit alist: AList[K]): Initialize[T]

    Definition Classes
    Init
  14. def append[T](ss: Seq[Setting[T]], s: Setting[T]): Seq[Setting[T]]

    Definition Classes
    Init
  15. def asFunction[T](s: Settings[Scope]): (ScopedKey[T]) ⇒ T

    Definition Classes
    Init
  16. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  17. def asTransform(s: Settings[Scope]): ~>[ScopedKey, Types.Id]

    Definition Classes
    Init
  18. def bind[S, T](in: Initialize[S])(f: (S) ⇒ Initialize[T]): Initialize[T]

    Definition Classes
    Init
  19. lazy val capturedTransformations: Initialize[~>[Initialize, Initialize]]

    The result of this initialization is the composition of applied transformations.

    The result of this initialization is the composition of applied transformations. This can be useful when dealing with dynamic Initialize values.

    Definition Classes
    Init
  20. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. def colored(s: String, color: Option[String]): String

  22. def compile(sMap: ScopedMap): CompiledMap

    Definition Classes
    Init
  23. def compiled(init: Seq[Setting[_]], actual: Boolean = true)(implicit delegates: (Scope) ⇒ Seq[Scope], scopeLocal: (ScopedKey[_]) ⇒ Seq[Setting[_]], display: Show[ScopedKey[_]]): CompiledMap

    Definition Classes
    Init
  24. def definedAtString(settings: Seq[Setting[_]]): String

    Definition Classes
    Init
  25. def delegate(sMap: ScopedMap)(implicit delegates: (Scope) ⇒ Seq[Scope], display: Show[ScopedKey[_]]): ScopedMap

    Definition Classes
    Init
  26. final def derive[T](s: Setting[T], allowDynamic: Boolean = false, filter: (Scope) ⇒ Boolean = const(true), trigger: (AttributeKey[_]) ⇒ Boolean = const(true), default: Boolean = false): Setting[T]

    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.

    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. A setting initialized with dynamic dependencies is only allowed if allowDynamic is true. Only the static dependencies are tracked, however. Dependencies on previous values do not introduce a derived setting either.

    Definition Classes
    Init
  27. def deriveAllowed[T](s: Setting[T], allowDynamic: Boolean): Option[String]

    Definition Classes
    DefInit
  28. def displayFull(scoped: ScopedKey[_], keyNameColor: Option[String]): String

  29. def displayFull(scoped: ScopedKey[_]): String

  30. def displayMasked(scoped: ScopedKey[_], mask: ScopeMask): String

  31. def displayRelative(current: ProjectRef, multi: Boolean, project: Reference): String

  32. def empty(implicit delegates: (Scope) ⇒ Seq[Scope]): Settings[Scope]

    Definition Classes
    Init
  33. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  34. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  35. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  36. def flattenLocals(compiled: CompiledMap): Map[ScopedKey[_], Flattened]

    Definition Classes
    Init
  37. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  38. def getValue[T](s: Settings[Scope], k: ScopedKey[T]): T

    Definition Classes
    Init
  39. def grouped(init: Seq[Setting[_]]): ScopedMap

    Definition Classes
    Init
  40. def guessIntendedScope(validKeys: Seq[ScopedKey[_]], delegates: (Scope) ⇒ Seq[Scope], key: ScopedKey[_]): Option[ScopedKey[_]]

    Definition Classes
    Init
  41. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  42. def inputKey[T](description: String): InputKey[T]

    Annotations
    @macroImpl( ... )
  43. def inputTask[T](t: T): Initialize[InputTask[T]]

    Annotations
    @macroImpl( ... )
  44. def inputTaskDyn[T](t: Initialize[Task[T]]): Initialize[InputTask[T]]

    Annotations
    @macroImpl( ... )
  45. def intersect(s1: Scope, s2: Scope)(implicit delegates: (Scope) ⇒ Seq[Scope]): Option[Scope]

    Intersects two scopes, returning the more specific one if they intersect, or None otherwise.

    Intersects two scopes, returning the more specific one if they intersect, or None otherwise.

    Definition Classes
    DefInit
  46. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  47. implicit def macroPrevious[T](in: TaskKey[T]): MacroPrevious[T]

  48. implicit def macroValueI[T](in: Initialize[T]): MacroValue[T]

  49. implicit def macroValueIInT[T](in: Initialize[InputTask[T]]): InputEvaluated[T]

  50. implicit def macroValueIT[T](in: Initialize[Task[T]]): MacroValue[T]

  51. implicit def macroValueIn[T](in: InputTask[T]): InputEvaluated[T]

    Definition Classes
    TaskMacroExtra
  52. implicit def macroValueT[T](in: Task[T]): MacroValue[T]

    Definition Classes
    TaskMacroExtra
  53. def make(init: Seq[Setting[_]])(implicit delegates: (Scope) ⇒ Seq[Scope], scopeLocal: (ScopedKey[_]) ⇒ Seq[Setting[_]], display: Show[ScopedKey[_]]): Settings[Scope]

    Definition Classes
    Init
  54. def map[S, T](in: Initialize[S])(f: (S) ⇒ T): Initialize[T]

    Definition Classes
    Init
  55. def mapScope(f: (Scope) ⇒ Scope): MapScoped

    Definition Classes
    Init
  56. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  57. final def notify(): Unit

    Definition Classes
    AnyRef
  58. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  59. def optional[T, U](i: Initialize[T])(f: (Option[T]) ⇒ U): Initialize[U]

    Definition Classes
    Init
  60. implicit def parserInitStateToInput[T](p: Initialize[(State) ⇒ Parser[T]]): ParserInput[T]

  61. implicit def parserInitToInput[T](p: Initialize[Parser[T]]): ParserInput[T]

  62. implicit def parserToInput[T](in: Parser[T]): ParserInput[T]

    Definition Classes
    TaskMacroExtra
  63. def pure[T](value: () ⇒ T): Initialize[T]

    Definition Classes
    Init
  64. def refinedDistance(delegates: (Scope) ⇒ Seq[Scope], a: ScopedKey[_], b: ScopedKey[_]): Option[Int]

    Definition Classes
    Init
  65. val resolvedScoped: SettingKey[ScopedKey[_]]

  66. val runBefore: AttributeKey[Seq[Task[_]]]

  67. def setting[T](t: T): Initialize[T]

    Annotations
    @macroImpl( ... )
  68. def setting[T](key: ScopedKey[T], init: Initialize[T], pos: SourcePosition = NoPosition): Setting[T]

    Definition Classes
    Init
  69. def settingDyn[T](t: Initialize[T]): Initialize[T]

    Annotations
    @macroImpl( ... )
  70. def settingKey[T](description: String): SettingKey[T]

    Annotations
    @macroImpl( ... )
  71. def showFullKey(keyNameColor: Option[String]): Show[ScopedKey[_]]

  72. lazy val showFullKey: Show[ScopedKey[_]]

    Definition Classes
    DefInit
  73. def showRelativeKey(current: ProjectRef, multi: Boolean, keyNameColor: Option[String] = None): Show[ScopedKey[_]]

  74. def showUndefined(u: Undefined, validKeys: Seq[ScopedKey[_]], delegates: (Scope) ⇒ Seq[Scope])(implicit display: Show[ScopedKey[_]]): String

    Definition Classes
    Init
  75. def sort(cMap: CompiledMap): Seq[Compiled[_]]

    Definition Classes
    Init
  76. def spaceDelimited(argLabel: String = "<arg>"): Parser[Seq[String]]

    A default Parser for splitting input into space-separated arguments.

    A default Parser for splitting input into space-separated arguments. argLabel is an optional, fixed label shown for an argument during tab completion.

  77. implicit def stateParserToInput[T](in: (State) ⇒ Parser[T]): ParserInput[T]

    Definition Classes
    TaskMacroExtra
  78. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  79. def task[T](t: T): Initialize[Task[T]]

    Annotations
    @macroImpl( ... )
  80. def taskDyn[T](t: Initialize[Task[T]]): Initialize[Task[T]]

    Annotations
    @macroImpl( ... )
  81. def taskKey[T](description: String): TaskKey[T]

    Annotations
    @macroImpl( ... )
  82. implicit def taskMacroValueIT[T](in: Initialize[Task[T]]): MacroTaskValue[T]

  83. def toIParser[T](p: Initialize[InputTask[T]]): Initialize[(State) ⇒ Parser[Task[T]]]

  84. def toISParser[T](p: Initialize[Parser[T]]): Initialize[(State) ⇒ Parser[T]]

  85. def toITask[T](i: Initialize[T]): Initialize[Task[T]]

    Lifts the result of a setting initialization into a Task.

  86. def toSParser[T](p: Parser[T]): (State) ⇒ Parser[T]

  87. def toString(): String

    Definition Classes
    AnyRef → Any
  88. val triggeredBy: AttributeKey[Seq[Task[_]]]

  89. def uniform[S, T](inputs: Seq[Initialize[S]])(f: (Seq[S]) ⇒ T): Initialize[T]

    Definition Classes
    Init
  90. def update[T](key: ScopedKey[T])(f: (T) ⇒ T): Setting[T]

    Definition Classes
    Init
  91. def value[T](value: ⇒ T): Initialize[T]

    Definition Classes
    Init
  92. def valueStrict[T](value: T): Initialize[T]

    Definition Classes
    Init
  93. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  94. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  95. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def Undefined(definingKey: ScopedKey[_], referencedKey: ScopedKey[_], derived: Boolean): Undefined

    Definition Classes
    Init
    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.1) Use the other overload.

Inherited from TaskMacroExtra

Inherited from Init[Scope]

Inherited from AnyRef

Inherited from Any

Ungrouped