mill.api.internal.RootModule
See theRootModule companion object
abstract class RootModule()(using baseModuleInfo: Info, millModuleEnclosing0: Enclosing, millModuleLine0: Line, millFile0: File) extends RootModule0, RootModuleApi
Used to mark a module in your build.mill as a top-level module, so it's tasks can be run directly e.g. via mill run rather than prefixed by the module name mill foo.run.
Only one top-level module may be defined in your build.mill, and it must be defined at the top level of the build.mill and not nested in any other modules.
Attributes
- Companion
- object
- Source
- RootModule.scala
- Graph
-
- Supertypes
-
trait RootModuleApiclass RootModule0trait BaseModuleApitrait Moduletrait ModuleApitrait Wrapperclass BaseClasstrait Cachertrait Cacherclass Objecttrait Matchableclass Any
- Known subtypes
-
class MainRootModuleclass BootstrapModule
Members list
In this article