ModuleSpec

mill.main.buildgen.ModuleSpec
See theModuleSpec companion object
case class ModuleSpec(name: String, imports: Seq[String] = ..., supertypes: Seq[String] = ..., mixins: Seq[String] = ..., crossKeys: Seq[String] = ..., useOuterModuleDir: Boolean = ..., repositories: Values[String] = ..., forkArgs: Values[Opt] = ..., forkWorkingDir: Value[RelPath] = ..., mandatoryMvnDeps: Values[MvnDep] = ..., mvnDeps: Values[MvnDep] = ..., compileMvnDeps: Values[MvnDep] = ..., runMvnDeps: Values[MvnDep] = ..., bomMvnDeps: Values[MvnDep] = ..., depManagement: Values[MvnDep] = ..., javacOptions: Values[Opt] = ..., moduleDeps: Values[ModuleDep] = ..., compileModuleDeps: Values[ModuleDep] = ..., runModuleDeps: Values[ModuleDep] = ..., bomModuleDeps: Values[ModuleDep] = ..., sourcesFolders: Values[String] = ..., sources: Values[RelPath] = ..., resources: Values[RelPath] = ..., artifactName: Value[String] = ..., pomPackagingType: Value[String] = ..., pomParentProject: Value[Artifact] = ..., pomSettings: Value[PomSettings] = ..., publishVersion: Value[String] = ..., versionScheme: Value[String] = ..., publishProperties: Values[(String, String)] = ..., errorProneDeps: Values[MvnDep] = ..., errorProneOptions: Values[String] = ..., errorProneJavacEnableOptions: Values[Opt] = ..., scalaVersion: Value[String] = ..., scalacOptions: Values[Opt] = ..., scalacPluginMvnDeps: Values[MvnDep] = ..., scalaJSVersion: Value[String] = ..., moduleKind: Value[String] = ..., scalaNativeVersion: Value[String] = ..., sourcesRootFolders: Values[String] = ..., testParallelism: Value[Boolean] = ..., testSandboxWorkingDir: Value[Boolean] = ..., testFramework: Value[String] = ..., children: Seq[ModuleSpec] = ...)

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

Attributes

Source
ModuleSpec.scala
def tree: Seq[ModuleSpec]

Attributes

Source
ModuleSpec.scala
def withErrorProneModule(errorProneMvnDeps: Seq[MvnDep]): ModuleSpec

Attributes

Source
ModuleSpec.scala
def withJupiterInterface(junitVersion: String): ModuleSpec

Attributes

Source
ModuleSpec.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