mill.api
Members list
Type members
Classlikes
Attributes
- Source
- BuildInfo.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BuildInfo.type
Attributes
- Source
- MillException.scala
- Supertypes
-
class MillExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Utilities for creating classloaders for running compiled Java/Scala code in isolated classpaths.
Utilities for creating classloaders for running compiled Java/Scala code in isolated classpaths.
Attributes
- Source
- ClassLoader.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ClassLoader.type
A listener trait for getting notified about compilation output like compiler warnings and errors
A listener trait for getting notified about compilation output like compiler warnings and errors
Attributes
- Source
- CompileProblemReporter.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Represents the data and utilities that are contextually available inside the implementation of a Task
.
Unique diagnostic code given from the compiler with an optional further explanation.
Unique diagnostic code given from the compiler with an optional further explanation.
Attributes
- Source
- CompileProblemReporter.scala
- Supertypes
-
class Objecttrait Matchableclass Any
A dummy input stream containing an empty byte array.
A dummy input stream containing an empty byte array.
Attributes
- Source
- DummyStreams.scala
- Supertypes
-
class ByteArrayInputStreamclass InputStreamtrait Closeabletrait AutoCloseableclass Objecttrait Matchableclass AnyShow all
- Self type
-
DummyInputStream.type
A dummy output stream that does nothing with what it consumes (think of it as /dev/null
).
A dummy output stream that does nothing with what it consumes (think of it as /dev/null
).
Attributes
- Source
- DummyStreams.scala
- Supertypes
-
class OutputStreamtrait Flushabletrait Closeabletrait AutoCloseableclass Objecttrait Matchableclass AnyShow all
- Self type
-
DummyOutputStream.type
Dummy Test Reporter that doesn't report anything for any testing event.
Dummy Test Reporter that doesn't report anything for any testing event.
Attributes
- Source
- BuildReporter.scala
- Supertypes
- Self type
-
DummyTestReporter.type
Attributes
- Source
- CompileProblemReporter.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Severityclass Objecttrait Matchableclass AnyShow all
- Self type
-
Error.type
The result of a task execution.
The result of a task execution.
Type parameters
- T
-
The result type of the computed task.
Attributes
- Companion
- object
- Source
- ExecResult.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Source
- ExecResult.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ExecResult.type
Attributes
- Source
- CompileProblemReporter.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Severityclass Objecttrait Matchableclass AnyShow all
- Self type
-
Info.type
Attributes
- Companion
- trait
- Source
- JsonFormatters.scala
- Supertypes
- Self type
-
JsonFormatters.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
The standard logging interface of the Mill build tool. Also contains the two forwarded stdout and stderr streams, for code executed by Mill to use directly. Typically, these correspond to the stdout and stderr, but when show
is used both are forwarded to stderr and stdout is only used to display the final show
output for easy piping.
The standard logging interface of the Mill build tool. Also contains the two forwarded stdout and stderr streams, for code executed by Mill to use directly. Typically, these correspond to the stdout and stderr, but when show
is used both are forwarded to stderr and stdout is only used to display the final show
output for easy piping.
Attributes
- Source
- Logger.scala
- Supertypes
-
class Objecttrait Matchableclass Any
This exception is specifically handled in mill.runner.MillMain and mill.runner.MillServerMain. You can use it, if you need to exit Mill with a nice error message.
This exception is specifically handled in mill.runner.MillMain and mill.runner.MillServerMain. You can use it, if you need to exit Mill with a nice error message.
Value parameters
- msg
-
The error message, to be displayed to the user.
Attributes
- Source
- MillException.scala
- Supertypes
-
class Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class BuildScriptException
Attributes
- Source
- Mirrors.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Mirrors.type
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 Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- PathRef.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PathRef.type
Contains general information about the build problem
Contains general information about the build problem
Attributes
- Source
- CompileProblemReporter.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Indicates the exact location (source file, line, column) of the build problem
Indicates the exact location (source file, line, column) of the build problem
Attributes
- Source
- CompileProblemReporter.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Represents a computation that either succeeds with a value T or fails. Basically equivalent to Either[String, T]
, with converters back and forther via Result.toEither or Result.fromEither
Represents a computation that either succeeds with a value T or fails. Basically equivalent to Either[String, T]
, with converters back and forther via Result.toEither or Result.fromEither
Attributes
- Companion
- object
- Source
- Result.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Source
- Result.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Result.type
Attributes
- Source
- CompileProblemReporter.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Represents a set of streams that look similar to those provided by the operating system. These may internally be proxied/redirected/processed, but from the consumer's perspective they look just like the stdout/stderr/stdin that any Unix process receives from the OS.
Represents a set of streams that look similar to those provided by the operating system. These may internally be proxied/redirected/processed, but from the consumer's perspective they look just like the stdout/stderr/stdin that any Unix process receives from the OS.
Attributes
- Companion
- object
- Source
- SystemStreams.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Source
- SystemStreams.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SystemStreams.type
Test reporter class that can be injected into the test task and report information upon the start and the finish of testing events
Test reporter class that can be injected into the test task and report information upon the start and the finish of testing events
Attributes
- Source
- BuildReporter.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object DummyTestReporter
A somewhat-type-safe wrapper around Any
. Stores an un-typed value, but can only be created explicitly by wrapping in Val(_)
and de-constructed explicitly via .value
. That makes it much less likely to introduce bugs passing the wrong thing, e.g. (Any, Int)
can be passed to Any
, but (Val, Int)
cannot be passed to Val
A somewhat-type-safe wrapper around Any
. Stores an un-typed value, but can only be created explicitly by wrapping in Val(_)
and de-constructed explicitly via .value
. That makes it much less likely to introduce bugs passing the wrong thing, e.g. (Any, Int)
can be passed to Any
, but (Val, Int)
cannot be passed to Val
Attributes
- Source
- Val.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- CompileProblemReporter.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Severityclass Objecttrait Matchableclass AnyShow all
- Self type
-
Warn.type
Attributes
- Source
- WorkspaceRoot.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
WorkspaceRoot.type
Annotation to mark experimental API, which is not guaranteed to stay.
Annotation to mark experimental API, which is not guaranteed to stay.
Attributes
- Source
- experimental.scala
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Annotation to mark internal API, which is not guaranteed to stay.
Annotation to mark internal API, which is not guaranteed to stay.
Attributes
- Source
- internal.scala
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any