Def
A concrete settings system that uses sbt.Scope
for the scope type.
Attributes
- Graph
-
- Supertypes
-
trait InitializeImplicitstrait Init[Scope]trait BuildSyntaxclass Objecttrait Matchableclass AnyShow all
- Self type
-
Def.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Inherited classlikes
Attributes
- Inherited from:
- Init
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Init
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Init
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Init
- Supertypes
-
class Objecttrait Matchableclass Any
Abstractly defines a value of type A1
.
Abstractly defines a value of type A1
.
Specifically it defines a node in a task graph, where the dependencies
represents dependent nodes, and evaluate
represents the calculation based on the existing body of knowledge.
Type parameters
- A1
-
the type of the value this defines.
Attributes
- Inherited from:
- Init
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait KeyedInitialize[A1]class ScopedKey[A]trait InputKey[A1]class SettingKey[A1]class TaskKey[A1]Show all
An Initialize[T]
associated with a ScopedKey[S]
.
An Initialize[T]
associated with a ScopedKey[S]
.
Type parameters
- S
-
the type of the associated
ScopedKey
- T
-
the type of the value this
Initialize
defines.
Attributes
- Inherited from:
- Init
- Supertypes
- Known subtypes
-
trait KeyedInitialize[A1]class ScopedKey[A]trait InputKey[A1]class SettingKey[A1]class TaskKey[A1]
A Keyed
where the type of the value and the associated ScopedKey
are the same.
A Keyed
where the type of the value and the associated ScopedKey
are the same.
Type parameters
- A1
-
the type of both the value this
Initialize
defines and the type of the associatedScopedKey
.
Attributes
- Inherited from:
- Init
- Supertypes
- Known subtypes
Attributes
- Inherited from:
- Init
- Supertypes
-
class RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- Init
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait KeyedInitialize[A]trait Initialize[A]class Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- Init
- Supertypes
Attributes
- Inherited from:
- Init
- Supertypes
Attributes
- Inherited from:
- Init
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Init
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Setting[A1]class SettingList
Attributes
- Inherited from:
- Init
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Init
- Supertypes
-
class Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Types
Inherited types
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Value members
Concrete methods
Attributes
- Definition Classes
-
Init
Returns a String expression for the given Reference (BuildRef, ProjectRef, etc) relative to the current project.
Returns a String expression for the given Reference (BuildRef, ProjectRef, etc) relative to the current project.
Attributes
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.
Attributes
- Definition Classes
-
Init
Returns PromiseWrap[A]
, which is a wrapper around scala.concurrent.Promise
. When a task is typed promise (e.g. Def.Initialize[Task[PromiseWrap[A]]]
),an implicit method called await
is injected which will run in a thread outside of concurrent restriction budget.
Returns PromiseWrap[A]
, which is a wrapper around scala.concurrent.Promise
. When a task is typed promise (e.g. Def.Initialize[Task[PromiseWrap[A]]]
),an implicit method called await
is injected which will run in a thread outside of concurrent restriction budget.
Attributes
A default Parser for splitting input into space-separated arguments. argLabel
is an optional, fixed label shown for an argument during tab completion.
A default Parser for splitting input into space-separated arguments. argLabel
is an optional, fixed label shown for an argument during tab completion.
Attributes
Lifts the result of a setting initialization into a Task.
Lifts the result of a setting initialization into a Task.
Attributes
This works around Scala 2.12.12's "a pure expression does nothing in statement position"
This works around Scala 2.12.12's "a pure expression does nothing in statement position"
Def.unit(copyResources.value)
Def.unit(compile.value)
Attributes
Deprecated methods
Attributes
- Deprecated
- true
Attributes
- Deprecated
- true
Attributes
- Deprecated
- true
Attributes
- Deprecated
- true
Inherited methods
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
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.
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.
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- BuildSyntax
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- BuildSyntax
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- BuildSyntax
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Concrete fields
The Show instance used when a detailed String needs to be generated. It is typically used when no context is available.
The Show instance used when a detailed String needs to be generated. It is typically used when no context is available.
Attributes
Inherited fields
The result of this initialization is the composition of applied transformations. This can be useful when dealing with dynamic Initialize values.
The result of this initialization is the composition of applied transformations. This can be useful when dealing with dynamic Initialize values.
Attributes
- Inherited from:
- Init
Extensions
Extensions
This treats the Initialize[Task[A]]
as a setting that returns the Task value, instead of evaluating the task.
This treats the Initialize[Task[A]]
as a setting that returns the Task value, instead of evaluating the task.
Attributes
Inherited extensions
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- Init
Attributes
- Inherited from:
- BuildSyntax
Attributes
- Inherited from:
- BuildSyntax
Attributes
- Inherited from:
- BuildSyntax
Implicits
Inherited implicits
Attributes
- Inherited from:
- InitializeImplicits
Attributes
- Inherited from:
- InitializeImplicits