mill.api.internal

Members list

Type members

Classlikes

case class Appendable[T](value: T, append: Boolean = ...)

Wraps a value with append semantics (whether to replace or append to existing value)

Wraps a value with append semantics (whether to replace or append to existing value)

Attributes

Companion
object
Source
Located.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Appendable

Attributes

Companion
class
Source
Located.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Appendable.type
object Applicative

A generic Applicative-functor macro: translates calls to

A generic Applicative-functor macro: translates calls to

Applier.apply{ ... applyable1.apply() ... applyable2.apply() ... }

into

Applier.zipMap(applyable1, applyable2){ (a1, a2, ctx) => ... a1 ... a2 ... }

Attributes

Source
Applicative.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class BuildFileCls(classLoader: ClassLoader) extends BuildFileApi

Attributes

Source
BuildFileCls.scala
Supertypes
trait BuildFileApi
class Object
trait Matchable
class Any
trait Cacher extends Cacher

Attributes

Source
Cacher.scala
Supertypes
trait Cacher
class Object
trait Matchable
class Any
Known subtypes
class BaseClass
class RootModule0
class RootModule
class Instance
object KeytoolModule
trait ScriptModule
trait Base
trait Base
class GroovyModule
class Junit4
class Junit5
class Spock
class TestNg
class JavaModule
class Junit4
class Junit5
class TestNg
trait Base
class KotlinModule
class Junit4
class Junit5
class TestNg
trait Base
class Raw
class ScalaModule
class Junit4
class Junit5
class Munit
class ScalaCheck
class ScalaTest
class Specs2
class TestNg
class Utest
class Weaver
class ZioTest
object Giter8Module
object InitModule
object InitSbtModule
object PmdModule
object Dependency
object PublishModule
object Kover
object KtfmtModule
object KtlintModule
object RuffModule
object VcsVersion
trait MainModule
trait Module
trait Wrap
trait Wrap
trait Wrap
trait Wrap
trait JavaModule
trait JavaModule.this.JavaTests
trait KspModule.this.KspTests
trait KaptModule.this.KaptTests
trait ScalaModule.this.ScalaTests
trait SbtModule.this.SbtTests
trait MavenModule.this.MavenTests
trait FlywayModule
trait JmhModule
trait GroovyModule
trait GroovyTests0
trait BomModule
trait JavaTests0
trait KotlinTests0
trait ScalaTests0
trait JlinkModule
trait MavenModule
trait RevapiModule
trait KtfmtModule
trait KtlintModule
trait KotlinModule
trait DetektModule
trait KaptModule
trait KoverModule
trait KspModule
trait TestModule
trait Junit4
trait Junit5
trait Junit6
trait Spock
trait Munit
trait ScalaCheck
trait ScalaTest
trait Specs2
trait TestNg
trait Utest
trait Weaver
trait ZioTest
trait Wrap
trait BspModule
object Wrap.this.internalGenEclipse
trait Wrap
object Wrap.this.internalGenIdea
object Wrap.this.internalGenIdea
object Wrap.this.internalGenIdea
object Wrap.this.internalGenIdea
trait Wrap
trait Giter8Module
trait PmdModule
trait RunModule
trait PythonModule
trait RuffModule
trait Pytest
trait Unittest
object KoverModule.this.kover
trait Wrap
trait Wrap
trait VcsVersion
Show all
case class Located[T](path: Path, index: Int, value: T)

Tracks the source location (file path and character index) of a parsed value

Tracks the source location (file path and character index) of a parsed value

Attributes

Companion
object
Source
Located.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Located

Attributes

Companion
class
Source
Located.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Located.type

Helper object for resolving module deps from string identifiers at runtime. Used by YAML builds to defer module resolution from codegen time to runtime. Configuration is loaded from a classpath resource file written during code generation.

Helper object for resolving module deps from string identifiers at runtime. Used by YAML builds to defer module resolution from codegen time to runtime. Configuration is loaded from a classpath resource file written during code generation.

Attributes

Source
ModuleDepsResolver.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Dummy class used to mark parameters that come after it as named only parameters

Dummy class used to mark parameters that come after it as named only parameters

Attributes

Source
NamedParameterOnlyDummy.scala
Supertypes
class Object
trait Matchable
class Any

Instantiates a precompiled module from a YAML config file at module construction time, allowing it to be discovered by resolve _ as a child of its parent build module.

Instantiates a precompiled module from a YAML config file at module construction time, allowing it to be discovered by resolve _ as a child of its parent build module.

Called from generated build code. The extends class name, YAML path, and module deps are embedded at code-generation time.

Instances are cached by script file path so that both the child alias path (via CodeGen) and the script module resolver path (via ScriptModuleInit) return the same instance.

Attributes

Source
PrecompiledModuleRef.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class RootModule()(using baseModuleInfo: Info, millModuleEnclosing0: Enclosing, millModuleLine0: Line, millFile0: File) extends RootModule0, RootModuleApi

Used to mark a module in your build.mill as a top-level module, so it's tasks can be run directly e.g. via mill run rather than prefixed by the module name mill foo.run.

Used to mark a module in your build.mill as a top-level module, so it's tasks can be run directly e.g. via mill run rather than prefixed by the module name mill foo.run.

Only one top-level module may be defined in your build.mill, and it must be defined at the top level of the build.mill and not nested in any other modules.

Attributes

Companion
object
Source
RootModule.scala
Supertypes
class RootModule0
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Known subtypes
object RootModule

Attributes

Companion
class
Source
RootModule.scala
Supertypes
class Object
trait Matchable
class Any
Self type
RootModule.type
abstract class RootModule0(millSourcePath0: Path, external0: Boolean = ...)(using millModuleEnclosing0: Enclosing, millModuleLine0: Line, millFile0: File) extends BaseClass, Module, BaseModuleApi

Represents a module at the root of a module tree. This can either be a mill.api.RootModule representing the build.mill file, or a mill.api.ExternalModule provided by a library.

Represents a module at the root of a module tree. This can either be a mill.api.RootModule representing the build.mill file, or a mill.api.ExternalModule provided by a library.

Attributes

Source
RootModule0.scala
Supertypes
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Known subtypes
class RootModule
class Instance
object KeytoolModule
trait ScriptModule
trait Base
trait Base
class GroovyModule
class Junit4
class Junit5
class Spock
class TestNg
class JavaModule
class Junit4
class Junit5
class TestNg
trait Base
class KotlinModule
class Junit4
class Junit5
class TestNg
trait Base
class Raw
class ScalaModule
class Junit4
class Junit5
class Munit
class ScalaCheck
class ScalaTest
class Specs2
class TestNg
class Utest
class Weaver
class ZioTest
object Giter8Module
object InitModule
object InitSbtModule
object PmdModule
object Dependency
object PublishModule
object Kover
object KtfmtModule
object KtlintModule
object RuffModule
object VcsVersion
trait MainModule
Show all

Attributes

Companion
class
Source
SubfolderModule.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class SubfolderModule(millDiscover: Discover)(using millModuleLine0: Line, millFile0: File, rootModuleInfo: Info) extends BaseClass, Module

Attributes

Companion
object
Source
SubfolderModule.scala
Supertypes
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
object Util

Attributes

Source
Util.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Util.type