Attributes
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RefThenConfig.type
Types
Temporary data structure to capture first two axis using slash syntax. In theory, we might be able to express this as type parameters of Scope, like Scope[Select[ThisBuild.type], Select[ConfigKey], This, This] but then scope becomes more complicated to deal with.
Temporary data structure to capture first two axis using slash syntax. In theory, we might be able to express this as type parameters of Scope, like Scope[Select[ThisBuild.type], Select[ConfigKey], This, This] but then scope becomes more complicated to deal with.
Attributes
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
unified slash style introduced in sbt 1.1.0. By default, sbt will no longer display the Zero-config, so name
will render as name
as opposed to {uri}proj/Zero/name
. Technically speaking an unspecified configuration axis defaults to the scope delegation (first configuration defining the key, then Zero).
unified slash style introduced in sbt 1.1.0. By default, sbt will no longer display the Zero-config, so name
will render as name
as opposed to {uri}proj/Zero/name
. Technically speaking an unspecified configuration axis defaults to the scope delegation (first configuration defining the key, then Zero).
Attributes
Select(ThisProject)
cannot be resolved by resolveProject (it doesn't know what to replace it with), so we perform this transformation so that replaceThis picks it up.
Select(ThisProject)
cannot be resolved by resolveProject (it doesn't know what to replace it with), so we perform this transformation so that replaceThis picks it up.
Attributes
Concrete fields
Allows the user to override the result of Scope.display
or Scope.displayMasked
for a particular scope. This can be used to enhance super shell and/or error reporting for tasks that use mangled names. For example, one might have:
Allows the user to override the result of Scope.display
or Scope.displayMasked
for a particular scope. This can be used to enhance super shell and/or error reporting for tasks that use mangled names. For example, one might have:
val mangledKey = TaskKey[Unit]("foo_slash_bar")
val attributeMap = AttributeMap.empty.put(Scope.customShowString("foo/bar"))
val sanitizedKey = mangledKey.copy(scope = mangledKey.copy(extra = Select(attributeMap)))
sanitizedKey := { ... }
Now whenever the foo_slash_bar
task specified by sanitizedKey is evaluated, it will display "foo/bar" in super shell progress and in the error message if an error is thrown.