Module

mill.api.Module
See theModule companion object
trait Module extends BaseClass, Wrapper, ModuleApi

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 ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Known subtypes
class RootModule0
class RootModule
object KeytoolModule
trait ScriptModule
trait Base
class JavaModule
class Junit4
class Junit5
class TestNg
trait Base
class KotlinModule
class Junit4
class Junit5
class TestNg
trait Base
class Raw
class ScalaModule
class Junit4
class Junit5
class Munit
class ScalaCheck
class ScalaTest
class Specs2
class TestNg
class Utest
class Weaver
class ZioTest
object Giter8Module
object InitModule
object InitSbtModule
object PmdModule
object Dependency
object PublishModule
object Kover
object KtfmtModule
object KtlintModule
object RuffModule
object VcsVersion
trait MainModule
trait JavaModule
trait JavaModule.this.JavaTests
trait KspModule.this.KspTests
trait ScalaModule.this.ScalaTests
trait SbtModule.this.SbtTests
trait MavenModule.this.MavenTests
trait FlywayModule
trait JmhModule
trait BomModule
trait JavaTests0
trait KotlinTests0
trait ScalaTests0
trait JlinkModule
trait MavenModule
trait RevapiModule
trait KtfmtModule
trait KtlintModule
trait KotlinModule
trait DetektModule
trait KoverModule
trait KspModule
trait TestModule
trait Junit4
trait Junit5
trait Munit
trait ScalaCheck
trait ScalaTest
trait Specs2
trait TestNg
trait Utest
trait Weaver
trait ZioTest
trait Wrap
trait BspModule
object Wrap.this.internalGenEclipse
trait Wrap
object Wrap.this.internalGenIdea
object Wrap.this.internalGenIdea
trait Wrap
trait Giter8Module
trait PmdModule
trait RunModule
trait PythonModule
trait RuffModule
trait Pytest
trait Unittest
object KoverModule.this.kover
trait Wrap
trait Wrap
trait VcsVersion
Show all

Members list

Type members

Classlikes

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
Module.this.Module.this.moduleInternal.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

Attributes

Inherited from:
BaseClass
Source
Module.scala