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
Manage the setup, teardown, and caching of objects of type V safely in a multithreaded environment.
Manage the setup, teardown, and caching of objects of type V safely in a multithreaded environment.
The user provides the setup and teardown logic along with a maxCacheSize, and CachedFactory provides instances of V as requested using the withValue method. These instances are automatically constructed on-demand from the give key, cached with an LRU strategy, and destroyed when they are eventually evicted
Intended for relatively small caches approximately O(num-threads) in size that will typically get used in a build system, not intended for caching large amounts of entries
Attributes
- Source
- CachedFactory.scala
- Supertypes
-
trait AutoCloseableclass Objecttrait Matchableclass Any
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
- StreamSupport.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
- StreamSupport.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
Misc IO utilities, eventually probably should be pushed upstream into ammonite-ops
Misc IO utilities, eventually probably should be pushed upstream into ammonite-ops
Attributes
Attributes
- Source
- CompileProblemReporter.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Severityclass Objecttrait Matchableclass AnyShow all
- Self type
-
Info.type
Represents a JAR manifest.
Represents a JAR manifest.
Value parameters
- groups
-
additional attributes for named entries
- main
-
the main manifest attributes
Attributes
- Companion
- object
- Source
- JarManifest.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Source
- JarManifest.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
JarManifest.type
Attributes
- Companion
- object
- Source
- JarOps.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object JarOps
Attributes
- Companion
- trait
- Source
- JarOps.scala
- Supertypes
- Self type
-
JarOps.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
Attributes
- Source
- Lazy.scala
- Supertypes
-
class Objecttrait Matchableclass Any
The standard logging interface of the Mill build tool.
The standard logging interface of the Mill build tool.
Contains these primary logging methods, in order of increasing importance:
-
debug
: internal debug messages normally not shown to the user; mostly useful when debugging issues -
ticker
: short-lived logging output where consecutive lines over-write each other; useful for information which is transient and disposable -
info
: miscellaneous logging output which isn't part of the main output a user is looking for, but useful to provide context on what Mill is doing -
error
: logging output which represents problems the user should care about
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
-
trait AutoCloseableclass Objecttrait Matchableclass Any
- Known subtypes
-
trait ColorLoggerclass MultiLoggerclass PrefixLoggerclass PrintLoggerobject DummyLoggerclass FileLoggerclass ProxyLoggerShow all
Attributes
- Source
- AggWrapper.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Loose.type
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
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
- 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
- Retry.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- CompileProblemReporter.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Source
- StreamSupport.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object IO
Attributes
- Source
- AggWrapper.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Strict.type
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
Deprecated classlikes
Simple fixed size cache mainly intended for use in ZincWorkerImpl with the following properties
Simple fixed size cache mainly intended for use in ZincWorkerImpl with the following properties
- Elements are lazily initialized upon first access
- Cached element ordering is preserved. The earliest available cache entry which is probably a compiler instance will always be returned first, and it will always be put back in the cache in the same position. This is important because each compiler instance is JITed independently. So with a stable ordering so we can bias towards reusing an already warm compiler.
Value parameters
- perKeySize
-
Cache Size per unique key
Attributes
- Deprecated
- true
- Source
- FixSizedCache.scala
- Supertypes
A combination lock & cache; users provide a key, value-factory, and a body function to be called with the value. KeyedLockedCache ensures that the body function is called with the computed/cached value sequentially.
A combination lock & cache; users provide a key, value-factory, and a body function to be called with the value. KeyedLockedCache ensures that the body function is called with the computed/cached value sequentially.
Attributes
- Companion
- object
- Deprecated
- true
- Source
- KeyedLockedCache.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class FixSizedCache[T]class RandomBoundedCache[T]
Attributes
- Companion
- trait
- Deprecated
- true
- Source
- KeyedLockedCache.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
KeyedLockedCache.type