trait MainModule extends BaseClass with define.Module
mill.define.Module containing all the default tasks that Mill provides: resolve, show, inspect, plan, etc.
- Annotations
- @Scaladoc()
- Alphabetic
- By Inheritance
- MainModule
- Module
- BaseClass
- Cacher
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- implicit abstract def millDiscover: Discover[_]
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cachedTarget[T](t: => T)(implicit c: Enclosing): T
- Attributes
- protected[this]
- Definition Classes
- Cacher
- def clean(evaluator: Evaluator, targets: String*): define.Command[Seq[api.PathRef]]
Deletes the given targets from the out directory.
Deletes the given targets from the out directory. Providing no targets will clean everything.
- Annotations
- @Scaladoc()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val evalWatchedValues: Buffer[Watchable]
- Attributes
- protected[mill]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def init(evaluator: Evaluator, args: String*): define.Command[Unit]
The
init
command generates a project based on a Giter8 template.The
init
command generates a project based on a Giter8 template. It prompts you to enter project name and creates a folder with that name. You can use it to quickly generate a starter project. There are lots of templates out there for many frameworks and tools!- Annotations
- @Scaladoc()
- def inspect(evaluator: Evaluator, targets: String*): define.Command[String]
Displays metadata about the given task without actually running it.
Displays metadata about the given task without actually running it.
- Annotations
- @Scaladoc()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def millModuleBasePath: BasePath
- Definition Classes
- Module
- def millModuleDirectChildren: Seq[define.Module]
- Definition Classes
- Module
- implicit def millModuleExternal: External
- Definition Classes
- Module
- implicit def millModuleSegments: Segments
- Definition Classes
- Module
- implicit def millModuleShared: Foreign
- Definition Classes
- Module
- def millOuterCtx: Ctx
- Definition Classes
- BaseClass
- def millSourcePath: Path
- Definition Classes
- Module
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def path(evaluator: Evaluator, src: String, dest: String): define.Command[List[String]]
Prints out some dependency path from the
src
task to thedest
task.Prints out some dependency path from the
src
task to thedest
task.If there are multiple dependency paths between
src
anddest
, the path chosen is arbitrary.- Annotations
- @Scaladoc()
- def plan(evaluator: Evaluator, targets: String*): define.Command[Array[String]]
Given a set of tasks, prints out the execution plan of what tasks will be executed in what order, without actually executing them.
Given a set of tasks, prints out the execution plan of what tasks will be executed in what order, without actually executing them.
- Annotations
- @Scaladoc()
- def resolve(evaluator: Evaluator, targets: String*): define.Command[List[String]]
Resolves a mill query string and prints out the tasks it resolves to.
Resolves a mill query string and prints out the tasks it resolves to.
- Annotations
- @Scaladoc()
- def show(evaluator: Evaluator, targets: String*): define.Command[Value]
Runs a given task and prints the JSON result to stdout.
Runs a given task and prints the JSON result to stdout. This is useful to integrate Mill into external scripts and tooling.
- Annotations
- @Scaladoc()
- def showNamed(evaluator: Evaluator, targets: String*): define.Command[Value]
Runs a given task and prints the results as JSON dictionary to stdout.
Runs a given task and prints the results as JSON dictionary to stdout. This is useful to integrate Mill into external scripts and tooling.
- Annotations
- @Scaladoc()
- def shutdown(): define.Command[Unit]
Shuts down mill's background server
Shuts down mill's background server
- Annotations
- @Scaladoc()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Module → AnyRef → Any
- def version(): define.Command[String]
Show the mill version.
Show the mill version.
- Annotations
- @Scaladoc()
- def visualize(evaluator: Evaluator, targets: String*): define.Command[Seq[api.PathRef]]
Renders the dependencies between the given tasks as a SVG for you to look at
Renders the dependencies between the given tasks as a SVG for you to look at
- Annotations
- @Scaladoc()
- def visualizePlan(evaluator: Evaluator, targets: String*): define.Command[Seq[api.PathRef]]
Renders the dependencies between the given tasks, and all their dependencies, as a SVG
Renders the dependencies between the given tasks, and all their dependencies, as a SVG
- Annotations
- @Scaladoc()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val watchedValues: Buffer[Watchable]
- Attributes
- protected[mill]
- object interp
- object millInternal extends Internal
- Definition Classes
- Module
- Annotations
- @Scaladoc() @internal()