mill.api
Attributes
Members list
Type members
Classlikes
Represents an unstructured sequence of command-line arguments that can be passed to Mill commands; similar to mainargs.Leftover
.
Represents an unstructured sequence of command-line arguments that can be passed to Mill commands; similar to mainargs.Leftover
.
Attributes
- Companion
- object
- Source
- Args.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Source
- Args.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Args.type
BuildCtx contains APIs that are global throughout an entire build, without being tied to any particular task or module
BuildCtx contains APIs that are global throughout an entire build, without being tied to any particular task or module
Attributes
- Source
- BuildCtx.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BuildCtx.type
Attributes
- Source
- BuildInfo.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BuildInfo.type
Attributes
- Companion
- trait
- Source
- Cross.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Cross.type
Models "cross-builds": sets of duplicate builds which differ only in the value of one or more "case" variables whose values are determined at runtime. Used via:
Models "cross-builds": sets of duplicate builds which differ only in the value of one or more "case" variables whose values are determined at runtime. Used via:
object foo extends Cross[FooModule]("bar", "baz", "qux")
trait FooModule extends Cross.Module[String]{
... crossValue ...
}
Attributes
- Companion
- object
- Source
- Cross.scala
- Supertypes
Models the different kinds of cross-versions supported by Mill for Scala dependencies.
Models the different kinds of cross-versions supported by Mill for Scala dependencies.
Attributes
- Companion
- object
- Source
- CrossVersion.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- enum
- Source
- CrossVersion.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CrossVersion.type
A Module that has a defaultTask that will be automatically executed if the module name is provide at the Mill command line
A Module that has a defaultTask that will be automatically executed if the module name is provide at the Mill command line
Attributes
- Source
- DefaultTaskModule.scala
- Supertypes
- Known subtypes
-
object PalantirFormatModuleobject SpotlessModuletrait JavaModuletrait JavaTeststrait KotlinTeststrait KspTeststrait AndroidLibKotlinTeststrait KotlinJsTeststrait KotestTeststrait KotlinTestPackageTeststrait KotlinMavenTeststrait AndroidAppTeststrait AndroidAppKotlinTeststrait AndroidLibTeststrait MavenTeststrait SbtTeststrait CrossSbtTeststrait ScalaTeststrait ScalaJSTeststrait ScalaNativeTeststrait AndroidAppBundletrait AndroidModuletrait AndroidAppModuletrait AndroidAppKotlinModuletrait AndroidBuildConfigtrait AndroidNativeAppModuletrait AndroidR8AppModuletrait AndroidKotlinModuletrait AndroidHiltSupporttrait AndroidLibKotlinModuletrait AndroidLibModuletrait CheckstyleModuletrait CheckstyleXsltModuletrait ErrorProneModuletrait PalantirFormatModuletrait BomModuletrait JlinkModuletrait JpackageModuletrait MavenModuletrait KotlinMavenModuletrait PlatformModuleBasetrait PlatformKotlinModuletrait PlatformScalaModuletrait PublishModuletrait RevapiModuletrait KtfmtBaseModuletrait KtfmtModuleobject KtfmtModuletrait KtlintModuleobject KtlintModuletrait KotlinModuletrait DetektModuletrait KotlinJsModuletrait KoverModuletrait KspModuleobject PublishModuleobject SonatypeCentralPublishModuletrait TestModuletrait AndroidTestModuletrait AndroidJUnittrait Junit4trait Junit5trait Munittrait ScalaChecktrait ScalaTesttrait Specs2trait TestNgtrait Utesttrait Weavertrait ZioTestobject ScalafmtModuleShow all
Macro to walk the module tree and generate mainargs
entrypoints for any Task.Command
methods that it finds. Needs to be provided for every ExternalModule that you define.
Macro to walk the module tree and generate mainargs
entrypoints for any Task.Command
methods that it finds. Needs to be provided for every ExternalModule that you define.
Note that unlike the rest of Mill's module-handling logic which uses Java reflection, generation of entrypoints requires typeclass resolution, and so needs to be done at compile time. Thus, we walk the entire module tree, collecting all the module Class[_]
s we can find, and for each one generate the mainargs.MainData
containing metadata and resolved typeclasses for all the Task.Command
methods we find. This mapping from Class[_]
to MainData
can then be used later to look up the MainData
for any module.
Attributes
- Companion
- object
- Source
- Discover.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Source
- Discover.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Discover.type
A module which you can override moduleDirectChildren to dynamically enable or disable child modules at runtime
A module which you can override moduleDirectChildren to dynamically enable or disable child modules at runtime
Attributes
- Source
- DynamicModule.scala
- Supertypes
An implicit that provides the lexically-enclosing class at the point at which it is resolved
An implicit that provides the lexically-enclosing class at the point at which it is resolved
Attributes
- Companion
- object
- Source
- EnclosingClass.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- EnclosingClass.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
EnclosingClass.type
An API that allows you to resolve, plan, and execute Mill tasks.
An API that allows you to resolve, plan, and execute Mill tasks.
Evaluator can be taken as a parameter to Task.Commands marked as exclusive = true
, providing those commands with the ability to inspect the build and dynamically decide what to evaluate. Many builtin commands like show
, plan
, path
, etc. are implemented in this way
Attributes
- Companion
- object
- Source
- Evaluator.scala
- Supertypes
- Known subtypes
-
class EvaluatorProxy
Attributes
- Companion
- trait
- Source
- Evaluator.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Evaluator.type
Attributes
- Source
- EvaluatorProxy.scala
- Supertypes
-
trait Evaluatortrait EvaluatorApitrait AutoCloseableclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Source
- ExecutionPaths.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- ExecutionPaths.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ExecutionPaths.type
The output of executing tasks via an Evaluator
A module defined outside of the build.mill
file, and is instead provided builtin by some Mill library or plugin
A module defined outside of the build.mill
file, and is instead provided builtin by some Mill library or plugin
Implementors should make sure, the final override of millDiscover happens in the final object.
override protected def millDiscover: Discover = Discover[this.type]
Attributes
- Companion
- object
- Source
- ExternalModule.scala
- Supertypes
-
class RootModule0trait BaseModuleApitrait Moduletrait ModuleApitrait Wrapperclass BaseClasstrait Cachertrait Cacherclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait AndroidHiltTransformobject AndroidHiltTransformtrait AndroidManifestMergerobject AndroidManifestMergerobject ClassgraphWorkerModuleobject PalantirFormatModuleobject PmdModuleobject SpotlessModuleobject SpringBootToolsModuleobject AssemblyModuleobject Dependencyobject JvmWorkerModuleobject OfflineSupportobject PublishModuleobject SonatypeCentralPublishModuleobject Koverobject KtfmtModuleobject KtlintModuleobject KotlinWorkerManagerobject RuffModuleobject ScalafmtModuleobject ScalafmtWorkerModuleobject VcsVersionobject VisualizeModuleShow all
Attributes
- Companion
- class
- Source
- ExternalModule.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ExternalModule.type
Defines various default JSON formatters used in mill.
Defines various default JSON formatters used in mill.
Attributes
- Companion
- object
- Source
- JsonFormatters.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object JsonFormatters
Attributes
- Companion
- trait
- Source
- JsonFormatters.scala
- Supertypes
- Self type
-
JsonFormatters.type
Attributes
- Source
- ModuleCtx.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object ModuleCtx
Represents a namespace within the Mill build hierarchy, containing nested modules or tasks.
Represents a namespace within the Mill build hierarchy, containing nested modules or tasks.
Module
is a class meant to be extended by trait
s only, in order to propagate the implicit parameters forward to the final concrete instantiation site so they can capture the enclosing/line information of the concrete instance.
Attributes
- Companion
- object
- Source
- Module.scala
- Supertypes
- Known subtypes
-
class RootModule0class RootModuleclass MainRootModuleclass ExternalModuletrait AndroidHiltTransformobject AndroidHiltTransformtrait AndroidManifestMergerobject AndroidManifestMergerobject ClassgraphWorkerModuleobject PalantirFormatModuleobject PmdModuleobject SpotlessModuleobject SpringBootToolsModuleobject AssemblyModuleobject Dependencyobject JvmWorkerModuleobject OfflineSupportobject PublishModuleobject SonatypeCentralPublishModuleobject Koverobject KtfmtModuleobject KtlintModuleobject KotlinWorkerManagerobject RuffModuleobject ScalafmtModuleobject ScalafmtWorkerModuleobject VcsVersionobject VisualizeModuletrait MainModuleclass SubfolderModuletrait Module[T1]trait CrossValuetrait InnerCrossModule2trait InnerCrossModule3trait InnerCrossModule4trait InnerCrossModule5trait CrossModuleBasetrait CrossSbtModuletrait CrossScalaModuletrait CrossScalaVersionRangestrait Cross[M]trait DefaultTaskModuletrait JavaModuletrait JavaTeststrait KotlinTeststrait KspTeststrait AndroidLibKotlinTeststrait KotlinJsTeststrait KotestTeststrait KotlinTestPackageTeststrait KotlinMavenTeststrait AndroidAppTeststrait AndroidAppKotlinTeststrait AndroidLibTeststrait MavenTeststrait SbtTeststrait CrossSbtTeststrait ScalaTeststrait ScalaJSTeststrait ScalaNativeTeststrait AndroidAppBundletrait AndroidModuletrait AndroidAppModuletrait AndroidAppKotlinModuletrait AndroidBuildConfigtrait AndroidNativeAppModuletrait AndroidR8AppModuletrait AndroidKotlinModuletrait AndroidHiltSupporttrait AndroidLibKotlinModuletrait AndroidLibModuletrait CheckstyleModuletrait CheckstyleXsltModuletrait ErrorProneModuletrait PalantirFormatModuletrait BomModuletrait JlinkModuletrait JpackageModuletrait MavenModuletrait KotlinMavenModuletrait PlatformModuleBasetrait PlatformKotlinModuletrait PlatformScalaModuletrait PublishModuletrait RevapiModuletrait KtfmtBaseModuletrait KtfmtModuletrait KtlintModuletrait KotlinModuletrait DetektModuletrait KotlinJsModuletrait KoverModuletrait KspModuletrait TestModuletrait AndroidTestModuletrait AndroidJUnittrait Junit4trait Junit5trait Munittrait ScalaChecktrait ScalaTesttrait Specs2trait TestNgtrait Utesttrait Weavertrait ZioTesttrait DynamicModuletrait BspJavaModuleobject internalBspJavaModuletrait BspScalaModuleobject internalBspJavaModuletrait Wraptrait BspModuletrait JavaModuleBasetrait GenIdeaModuleobject internalGenIdeatrait GenIdeaModuleobject internalGenIdeatrait Wraptrait RepackageModuletrait AssemblyModuletrait CoursierModuletrait ClassgraphWorkerModuletrait PalantirFormatBaseModuletrait PmdModuletrait SpotlessModuletrait SpringBootToolsModuletrait JavaHomeModuletrait WithJvmWorkerModuletrait NativeImageModuletrait RunModuletrait SemanticDbJavaModuletrait PythonModuletrait PythonTeststrait CoverageModuletrait CoverageTeststrait PublishModuletrait RuffModuletrait Pytesttrait Unittesttrait JvmWorkerModuletrait KoverReportBaseModuleobject kovertrait OfflineSupportModuletrait Wraptrait Wraptrait SelectiveExecutionModuletrait VcsVersionShow all
Attributes
- Companion
- trait
- Source
- Module.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Module.type
The contextual information provided to a mill.api.Module or mill.api.Task
The contextual information provided to a mill.api.Module or mill.api.Task
Attributes
- Companion
- object
- Source
- ModuleCtx.scala
- Supertypes
Attributes
- Companion
- trait
- Source
- ModuleCtx.scala
- Supertypes
- Self type
-
ModuleCtx.type
Used to refer to a module from another module without including the target module as a child-module of the first.
Used to refer to a module from another module without including the target module as a child-module of the first.
Attributes
- Source
- ModuleRef.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A wrapper around os.Path
that calculates it's hashcode based on the contents of the filesystem underneath it. Used to ensure filesystem changes can bust caches which are keyed off hashcodes.
A wrapper around os.Path
that calculates it's hashcode based on the contents of the filesystem underneath it. Used to ensure filesystem changes can bust caches which are keyed off hashcodes.
Attributes
- Companion
- object
- Source
- PathRef.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PathRefApiclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- PathRef.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PathRef.type
Represents the outcome of Mill planning: a MultiBiMap containing the transitive tasks upstream of the tasks selected by the user, grouped by the "terminal" named or selected task downstream of each group
Represents the outcome of Mill planning: a MultiBiMap containing the transitive tasks upstream of the tasks selected by the user, grouped by the "terminal" named or selected task downstream of each group
Attributes
- Source
- Plan.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Source
- SelectiveExecution.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SelectiveExecution.type
Utilities for managing and redirecting the SystemStreams modelling the stdin/stdout/stderr of the process
Utilities for managing and redirecting the SystemStreams modelling the stdin/stdout/stderr of the process
Attributes
- Source
- SystemStreamsUtils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SystemStreamsUtils.type
Models a single node in the Mill build graph, with a list of inputs and a single output of type T.
Models a single node in the Mill build graph, with a list of inputs and a single output of type T.
Generally not instantiated manually, but instead constructed via the Task.apply & similar macros.
Attributes
- Companion
- object
- Source
- Task.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- class
- Source
- Task.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Task.type
Represents the data and utilities that are contextually available inside the implementation of a Task
.
Represents the data and utilities that are contextually available inside the implementation of a Task
.
Attributes
- Companion
- object
- Source
- TaskCtx.scala
- Supertypes
Provides access to various resources in the context of a current execution task.
Provides access to various resources in the context of a current execution task.
Attributes
- Companion
- trait
- Source
- TaskCtx.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TaskCtx.type
Represents the topologically sorted set of tasks
Represents the topologically sorted set of tasks
Attributes
- Source
- TopoSorted.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Exports
Defined exports
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala
Attributes
- Source
- exports.scala