DefinableTask

sbt.Scoped.DefinableTask
sealed trait DefinableTask[A1]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class TaskKey[A1]
Self type
TaskKey[A1]

Members list

Value members

Concrete methods

inline def :=(inline a: A1): Setting[Task[A1]]
inline def <<=(app: Initialize[Task[A1]]): Setting[Task[A1]]
def ?: Initialize[Task[Option[A1]]]

A symbolic alias for option.

A symbolic alias for option.

Attributes

def ??[A2 >: A1](or: => A2): Initialize[Task[A2]]
def get(settings: Settings): Option[Task[A1]]
def getOrElse[A2 >: A1](or: => A2): Initialize[Task[A2]]
def option: Initialize[Task[Option[A1]]]

Creates an Def.Initialize with value scala.None if there was no previous definition of this key, and scala.Some(value) if a definition exists. Useful for when you want to use the ''existence'' of one setting in order to define another setting.

Creates an Def.Initialize with value scala.None if there was no previous definition of this key, and scala.Some(value) if a definition exists. Useful for when you want to use the ''existence'' of one setting in order to define another setting.

Attributes

Returns

currently bound value wrapped in Initialize[Some[T]], or Initialize[None] if unbound.

infix def or[A2 >: A1](i: Initialize[Task[A2]]): Initialize[Task[A2]]
inline def set(inline app: Initialize[Task[A1]]): Setting[Task[A1]]

In addition to creating Def.setting(...), this captures the source position.

In addition to creating Def.setting(...), this captures the source position.

Attributes

inline def taskMacro[A2](inline a: A2): Initialize[Task[A2]]

Internal function for the task macro.

Internal function for the task macro.

Attributes

def toSettingKey: SettingKey[Task[A1]]
inline def transform(f: A1 => A1): Setting[Task[A1]]
inline def ~=(inline f: A1 => A1): Setting[Task[A1]]