CliImports

mill.meta.CliImports
object CliImports extends DynamicVariable[Seq[String]]

Hold additional runtime dependencies given via the --import cli option.

Attributes

Source
CliImports.scala
Graph
Supertypes
class DynamicVariable[Seq[String]]
class Object
trait Matchable
class Any
Self type
CliImports.type

Members list

Value members

Inherited methods

override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
DynamicVariable -> Any
Inherited from:
DynamicVariable
Source
DynamicVariable.scala
def value: Seq[String]

Retrieve the current value

Retrieve the current value

Attributes

Inherited from:
DynamicVariable
Source
DynamicVariable.scala
def value_=(newval: Seq[String]): Unit

Change the currently bound value, discarding the old value. Usually withValue() gives better semantics.

Change the currently bound value, discarding the old value. Usually withValue() gives better semantics.

Attributes

Inherited from:
DynamicVariable
Source
DynamicVariable.scala
def withValue[S](newval: Seq[String])(thunk: => S): S

Set the value of the variable while executing the specified thunk.

Set the value of the variable while executing the specified thunk.

Value parameters

newval

The value to which to set the variable

thunk

The code to evaluate under the new setting

Attributes

Inherited from:
DynamicVariable
Source
DynamicVariable.scala