Module

mill.define.Module
See theModule companion object
@Scaladoc(value = "/**\n * Represents a namespace within the Mill build hierarchy, containing nested\n * modules or tasks.\n *\n * `Module` is a class meant to be extended by ``trait``s *only*, in order to\n * propagate the implicit parameters forward to the final concrete\n * instantiation site so they can capture the enclosing/line information of\n * the concrete instance.\n */")
trait Module extends BaseClass, Wrapper

Represents a namespace within the Mill build hierarchy, containing nested modules or tasks.

Module is a class meant to be extended by traits only, in order to propagate the implicit parameters forward to the final concrete instantiation site so they can capture the enclosing/line information of the concrete instance.

Attributes

Companion
object
Source
Module.scala
Graph
Supertypes
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Known subtypes
class BaseModule
object Kover
object KtfmtModule
object KtlintModule
object Giter8Module
object Dependency
object PublishModule
trait MainModule
class RootModule
trait Module[T1]
trait CrossValue
trait Module2[T1, T2]
trait Module3[T1, T2, T3]
trait Module4[T1, T2, T3, T4]
trait Module5[T1, T2, T3, T4, T5]
trait Cross[M]
trait TaskModule
trait JavaModule
trait JavaTests
trait KotlinTests
trait KotestTests
trait KspTests
trait MavenTests
trait SbtTests
trait ScalaTests
trait ScalaJSTests
trait KtfmtModule
trait KotlinModule
trait DetektModule
trait KoverModule
trait KspModule
trait BomModule
trait JlinkModule
trait MavenModule
trait SbtModule
trait ScalaModule
trait UnidocModule
trait TestModule
trait AndroidJUnit
trait Junit4
trait Junit5
trait Munit
trait ScalaTest
trait Specs2
trait TestNg
trait Utest
trait Weaver
trait ZioTest
trait RunModule
Show all

Members list

Type members

Classlikes

@Scaladoc(value = "/**\n * Miscellaneous machinery around traversing & querying the build hierarchy,\n * that should not be needed by normal users of Mill\n */")
object moduleInternal extends Internal

Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

Attributes

Source
Module.scala
Supertypes
class Internal
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def moduleDir: Path

Attributes

Source
Module.scala

Attributes

Source
Module.scala

Attributes

Source
Module.scala
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
Any
Source
Module.scala

Inherited methods

def moduleCtx: Ctx

Attributes

Inherited from:
BaseClass
Source
Module.scala

Implicits

Implicits

implicit def moduleNestedCtx: Nested

Attributes

Source
Module.scala