BuildSpec

mill.main.buildgen.BuildSpec
See theBuildSpec companion object
case class BuildSpec(packages: Seq[PackageSpec], metaBuild: Option[MetaSpec] = ..., millVersion: String = ..., millJvmOpts: Seq[String] = ...)

Specification for generating source files for a Mill build.

Attributes

See also
Companion
object
Source
BuildSpec.scala
Graph
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Moves modules in nested packages to the root module hierarchy. This eliminates nested build files without modifying the build semantics.

Moves modules in nested packages to the root module hierarchy. This eliminates nested build files without modifying the build semantics.

Attributes

Source
BuildSpec.scala

Derives and attaches a meta-build to this build.

Derives and attaches a meta-build to this build.

At most, 2 base modules are created for sharing settings amongst build modules. The first one is derived from all non-test modules, if there are more than one such modules. The second one is derived from all publishable modules, if the first one has no publish data.

Attributes

Source
BuildSpec.scala

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala