SlashSyntax

sbt.SlashSyntax
See theSlashSyntax companion object
trait SlashSyntax

SlashSyntax implements the slash syntax to scope keys for build.sbt DSL. The implicits are set up such that the order that the scope components must appear in the order of the project axis, the configuration axis, and the task axis. This ordering is the same as the shell syntax.

Attributes

Example
Global / cancelable := true
ThisBuild / scalaVersion := "2.12.2"
Test / test := ()
console / scalacOptions += "-deprecation"
Compile / console / scalacOptions += "-Ywarn-numeric-widen"
projA / Compile / console / scalacOptions += "-feature"
Zero / Zero / name := "foo"
Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Givens

Givens

given given_Conversion_A_RichReference[A](using Conversion[A, Reference]): Conversion[A, RichReference]
given given_Conversion_AttributeKey_RichScope[A1]: Conversion[AttributeKey[A1], RichScope]
given given_Conversion_AttributeKey_Scope[A1]: Conversion[AttributeKey[A1], Scope]

This handles task scoping an existing scoped key (such as Compile / test) into a task scoping in (Compile / test) / name.

This handles task scoping an existing scoped key (such as Compile / test) into a task scoping in (Compile / test) / name.

Attributes