mill.main.buildgen

Members list

Type members

Classlikes

case class BuildSpec(packages: Seq[PackageSpec], metaBuild: Option[MetaSpec], millVersion: String, millJvmOpts: Seq[String])

Specification for generating source files for a Mill build.

Specification for generating source files for a Mill build.

Attributes

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

Attributes

Companion
class
Source
BuildSpec.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
BuildSpec.type
class BuildWriter(build: BuildSpec, renderCrossValueInTask: String)

Attributes

Source
BuildWriter.scala
Supertypes
class Object
trait Matchable
class Any
sealed trait ModuleConfig

Data for configuring a Mill build module.

Data for configuring a Mill build module.

Each subtype of this ADT maps to a module type defined in Mill. For example, ModuleConfig.JavaModule maps to mill.javalib.JavaModule and contains the data to configure tasks/members like mvnDeps/moduleDeps.

Attributes

Companion
object
Source
ModuleConfig.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ModuleConfig

Attributes

Companion
trait
Source
ModuleConfig.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
case class ModuleSpec(name: String, supertypes: Seq[String], mixins: Seq[String], configs: Seq[ModuleConfig], crossConfigs: Seq[(String, Seq[ModuleConfig])], nestedModules: Seq[ModuleSpec])

Specification for encoding a Mill build module as a Scala type.

Specification for encoding a Mill build module as a Scala type.

Value parameters

configs

Data for configuring this instance.

crossConfigs

Data for configuring this instance that varies by cross-value. - Cross support is limited to a single String value. - This is empty for non-cross modules.

mixins

Names of Scala mixin supertypes.

name

Name of this type.

supertypes

Names of Scala types that this type extends.

Attributes

Companion
object
Source
ModuleSpec.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ModuleSpec

Attributes

Companion
class
Source
ModuleSpec.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
ModuleSpec.type
case class PackageSpec(segments: Seq[String], module: ModuleSpec)

Specification for generating source file for a Mill build package.

Specification for generating source file for a Mill build package.

Value parameters

module

Root module of this package.

segments

Folder path relative to the workspace, where the build file is located.

Attributes

Companion
object
Source
PackageSpec.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object PackageSpec

Attributes

Companion
class
Source
PackageSpec.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type