SlashSyntax

sbt.SlashSyntax
trait SlashSyntax

SlashSyntax implements part of the slash syntax to scope keys for build.sbt DSL.

Attributes

Example
Test / test := ()
console.key / scalacOptions += "-deprecation"
Compile / console / scalacOptions += "-Ywarn-numeric-widen"
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Extensions

Extensions

extension [A1](a: AttributeKey[A1])
def /[K](key: ScopingSetting[K]): K

Handles slash syntax for key.key / key.

Handles slash syntax for key.key / key.

Attributes

def asScope: Scope

Handles slash syntax for key.key / key.

Handles slash syntax for key.key / key.

Attributes

extension (c: ConfigKey)
def /[K](key: ScopingSetting[K]): K
def /(task: AttributeKey[_]): Scope
def asScope: Scope
extension (c: Configuration)
def /[K](key: ScopingSetting[K]): K
def /(task: AttributeKey[_]): Scope
def asScope: Scope
extension (in: RefThenConfig)
def /[K](key: ScopingSetting[K]): K
def /(task: AttributeKey[_]): Scope
def /(taskAxis: ScopeAxis[AttributeKey[_]]): Scope

This is for handling Zero / Zero / Zero / name.

This is for handling Zero / Zero / Zero / name.

Attributes

def asScope: Scope
def toString(): String