Packages

trait MainModule extends BaseClass with define.Module

mill.define.Module containing all the default tasks that Mill provides: resolve, show, inspect, plan, etc.

Source
MainModule.scala
Linear Supertypes
define.Module, BaseClass, Cacher, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MainModule
  2. Module
  3. BaseClass
  4. Cacher
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. implicit abstract def millDiscover: Discover[_]

Concrete Value Members

  1. object millInternal 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

    Definition Classes
    Module
    Annotations
    @internal()
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##: Int
    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def cachedTarget[T](t: => T)(implicit c: Enclosing): T
    Attributes
    protected[this]
    Definition Classes
    Cacher
  7. 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.

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. val evalWatchedValues: Buffer[Watchable]
    Attributes
    protected[mill]
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. 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!

  16. def inspect(evaluator: Evaluator, targets: String*): define.Command[String]

    Displays metadata about the given task without actually running it.

  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. implicit def millModuleBasePath: BasePath
    Definition Classes
    Module
  19. def millModuleDirectChildren: Seq[define.Module]
    Definition Classes
    Module
  20. implicit def millModuleExternal: External
    Definition Classes
    Module
  21. implicit def millModuleSegments: Segments
    Definition Classes
    Module
  22. implicit def millModuleShared: Foreign
    Definition Classes
    Module
  23. def millOuterCtx: Ctx
    Definition Classes
    BaseClass
  24. def millSourcePath: Path
    Definition Classes
    Module
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def path(evaluator: Evaluator, src: String, dest: String): define.Command[List[String]]

    Prints out some dependency path from the src task to the dest task.

    Prints out some dependency path from the src task to the dest task.

    If there are multiple dependency paths between src and dest, the path chosen is arbitrary.

  29. 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.

  30. def resolve(evaluator: Evaluator, targets: String*): define.Command[List[String]]

    Resolves a mill query string and prints out the tasks it resolves to.

  31. 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.

  32. 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.

  33. def shutdown(): define.Command[Unit]

    Shuts down mill's background server

  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    Module → AnyRef → Any
  36. def version(): define.Command[String]

    Show the mill version.

  37. 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

  38. 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

  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. val watchedValues: Buffer[Watchable]
    Attributes
    protected[mill]
  43. object interp

Inherited from define.Module

Inherited from BaseClass

Inherited from Cacher

Inherited from AnyRef

Inherited from Any

Ungrouped