mill

package mill

API documentation for the Mill JVM build tool. This package contains all the Mill APIs exposed for you to use in your build.mill and package.mill files. Language-agnostic APIs are mostly in mill.api and mill.util, while *lib packages like mill.javalib, mill.scalalib, and mill.kotlinlib contain the language-specific toolchains.

Attributes

Members list

Packages

package mill.androidlib

Experimental toolchain for building Android app APKs using Mill's AndroidAppModule and AndroidAppKotlinModule, or Android modules via AndroidLibModule and AndroidAppKotlinModule

Experimental toolchain for building Android app APKs using Mill's AndroidAppModule and AndroidAppKotlinModule, or Android modules via AndroidLibModule and AndroidAppKotlinModule

Attributes

package mill.api

Core language-agnostic Mill APIs for use in your build files to define Tasks, Modules, etc.

Core language-agnostic Mill APIs for use in your build files to define Tasks, Modules, etc.

Attributes

package mill.javalib

Java toolchain containing JavaModule and other functionality related to building Java projects. The toolchain for building Java on android lives separately in mill.androidlib.

Java toolchain containing JavaModule and other functionality related to building Java projects. The toolchain for building Java on android lives separately in mill.androidlib.

Attributes

Experimental toolchain for building Javascript and Typescript apps using Mill's TypeScriptModule, including support for React.js apps with ReactScriptsModule

Experimental toolchain for building Javascript and Typescript apps using Mill's TypeScriptModule, including support for React.js apps with ReactScriptsModule

Attributes

package mill.kotlinlib

Kotlin toolchain containing KotlinModule and other functionality related to building Kotlin projects. Also supports js.KotlinJsModule for building Kotlin-JS projects that run in the browser. The toolchain for building Kotlin on android lives separately in mill.androidlib.

Kotlin toolchain containing KotlinModule and other functionality related to building Kotlin projects. Also supports js.KotlinJsModule for building Kotlin-JS projects that run in the browser. The toolchain for building Kotlin on android lives separately in mill.androidlib.

Attributes

package mill.pythonlib

Experimental toolchain for building Python apps using Mill's PythonModule. Supports publishing via pythonlib.PublishModule, linting via pythonlib.RuffModule, and code coverage via pythonlib.CoverageModule,

Experimental toolchain for building Python apps using Mill's PythonModule. Supports publishing via pythonlib.PublishModule, linting via pythonlib.RuffModule, and code coverage via pythonlib.CoverageModule,

Attributes

package mill.scalajslib

Scala toolchain containing ScalaJSModule and other functionality related to building Scala.js projects that run in the browser, Node.js, or other javascript runtimes

Scala toolchain containing ScalaJSModule and other functionality related to building Scala.js projects that run in the browser, Node.js, or other javascript runtimes

Attributes

package mill.scalalib

Scala toolchain containing ScalaModule and other functionality related to building Scala projects on the JVM. Scala.js and Scala-Native toolchains are in mill.scalajslib and mill.scalanativelib respectively.

Scala toolchain containing ScalaModule and other functionality related to building Scala projects on the JVM. Scala.js and Scala-Native toolchains are in mill.scalajslib and mill.scalanativelib respectively.

Attributes

Scala toolchain containing ScalaNativeModule and other functionality related to building Scala-Native projects

Scala toolchain containing ScalaNativeModule and other functionality related to building Scala-Native projects

Attributes

package mill.util

Non-language-specific utility APIs provided by Mill for use in your build.mill and package.mill, in addition to the core APIs provided in the mill.api package

Non-language-specific utility APIs provided by Mill for use in your build.mill and package.mill, in addition to the core APIs provided in the mill.api package

Attributes

Exports

Defined exports

final val Args: Args
Exported from api

Attributes

Source
exports.scala
final type Args = Args
Exported from api

Attributes

Source
exports.scala
final type Command = Command
Exported from Task$

Attributes

Source
exports.scala
final val Cross: Cross
Exported from api

Attributes

Source
exports.scala
final type Cross = [M <: Module[_]] =>> Cross[M]
Exported from api

Attributes

Source
exports.scala
Exported from api

Attributes

Source
exports.scala
final val Module: Module
Exported from api

Attributes

Source
exports.scala
final type Module = Module
Exported from api

Attributes

Source
exports.scala
final val PathRef: PathRef
Exported from api

Attributes

Source
exports.scala
final type PathRef = PathRef
Exported from api

Attributes

Source
exports.scala
Exported from JsonFormatters

Attributes

Source
exports.scala
final val T: Simple
Exported from Task

Attributes

Source
exports.scala
final type T = Simple
Exported from Task$

Attributes

Source
exports.scala
final val Task: Task
Exported from api

Attributes

Source
exports.scala
final type Task = Task
Exported from api

Attributes

Source
exports.scala
final type Worker = Worker
Exported from Task$

Attributes

Source
exports.scala
implicit val bytesReadWrite: ReadWriter[Bytes]
Exported from JsonFormatters

Attributes

Source
JsonFormatters.scala
implicit val crFormat: ReadWriter[CommandResult]
Exported from JsonFormatters

Attributes

Source
JsonFormatters.scala
implicit def enumFormat[T <: Enum[_] : ClassTag]: ReadWriter[T]
Exported from JsonFormatters

Attributes

Source
JsonFormatters.scala
inline export givenDerivedNamedTupleReader[T <: AnyNamedTuple]
Exported from NamedTupleReadWriters
inline export givenDerivedNamedTupleWriter[T <: AnyNamedTuple]
Exported from NamedTupleReadWriters
implicit def millArgsTokenReader: ShortNamed[Args]
Exported from TokenReaders

Attributes

Source
TokenReaders.scala
implicit def millEvaluatorTokenReader[T]: TokensReader[Evaluator]
Exported from TokenReaders

Attributes

Source
TokenReaders.scala
implicit def millTaskTokenReader[T](implicit tokensReaderOfT: ShortNamed[T]): TokensReader[Task[T]]
Exported from TokenReaders

Attributes

Source
TokenReaders.scala
implicit def millTasksTokenReader[T]: TokensReader[Tasks[T]]
Exported from TokenReaders

Attributes

Source
TokenReaders.scala
implicit val nioPathRW: ReadWriter[Path]
Exported from JsonFormatters

Attributes

Source
JsonFormatters.scala
implicit val pathReadWrite: ReadWriter[Path]
Exported from JsonFormatters

Attributes

Source
JsonFormatters.scala
implicit val regexReadWrite: ReadWriter[Regex]
Exported from JsonFormatters

Attributes

Source
JsonFormatters.scala
implicit val relPathRW: ReadWriter[RelPath]
Exported from JsonFormatters

Attributes

Source
JsonFormatters.scala
implicit val stackTraceRW: ReadWriter[StackTraceElement]
Exported from JsonFormatters

Attributes

Source
JsonFormatters.scala