mill.define.RootModule0
See theRootModule0 companion object
@Scaladoc(value = "/**\n * Used to mark a module in your `build.mill` as a top-level module, so it\'s\n * tasks can be run directly e.g. via `mill run` rather than\n * prefixed by the module name `mill foo.run`.\n *\n * Only one top-level module may be defined in your `build.mill`, and it must be\n * defined at the top level of the `build.mill` and not nested in any other\n * modules.\n */")
abstract class RootModule0()(implicit baseModuleInfo: Info, millModuleEnclosing0: Enclosing, millModuleLine0: Line, millFile0: File) extends BaseModule, 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
- RootModule0.scala
- Graph
-
- Supertypes
-
trait RootModuleApiclass BaseModuletrait BaseModuleApitrait Moduletrait ModuleApitrait Wrapperclass BaseClasstrait Cachertrait Cacherclass Objecttrait Matchableclass Any
- Known subtypes
-
class MainRootModule
Members list
In this article