ModuleSpec

mill.main.buildgen.ModuleSpec
See theModuleSpec companion object
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.

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
Graph
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def isPublishModule: Boolean

Attributes

Source
ModuleSpec.scala
def isScalaModule: Boolean

Attributes

Source
ModuleSpec.scala
def isTestModule: Boolean

Attributes

Source
ModuleSpec.scala
def sequence: Seq[ModuleSpec]

Attributes

Source
ModuleSpec.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product