CoursierConfigModule

mill.javalib.CoursierConfigModule
See theCoursierConfigModule companion trait

Reads coursier environment variables and Java properties

This module reads environment variables and Java properties, and uses them to get default values for a number of coursier parameters, such as:

Environment variables always have precedence over Java properties.

Attributes

Companion
trait
Source
CoursierConfigModule.scala
Graph
Supertypes
class RootModule0
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited classlikes

object moduleInternal extends Internal

Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

Attributes

Inherited from:
Module
Source
Module.scala
Supertypes
class Internal
class Object
trait Matchable
class Any

Value members

Inherited methods

Aggregates coursier parameters read from the environment

Aggregates coursier parameters read from the environment

Attributes

Inherited from:
CoursierConfigModule
Source
CoursierConfigModule.scala
def coursierEnv: Simple[(env: Map[String, String], props: Map[String, String])]

Environment variables and Java properties, and their values, used by coursier

Environment variables and Java properties, and their values, used by coursier

Attributes

Inherited from:
CoursierConfigModule
Source
CoursierConfigModule.scala

Default archive cache location to be used by coursier

Default archive cache location to be used by coursier

This is the directory under which archives are unpacked by coursier.cache.ArchiveCache. This includes JVMs managed by coursier, which Mill relies on by default.

Attributes

Inherited from:
CoursierConfigModule
Source
CoursierConfigModule.scala
def defaultCacheLocation: Task[String]

Default cache location to be used by coursier

Default cache location to be used by coursier

Attributes

Inherited from:
CoursierConfigModule
Source
CoursierConfigModule.scala
def defaultCachePolicies: Task[Seq[CachePolicy]]

Default cache policies used by coursier when downloading artifacts

Default cache policies used by coursier when downloading artifacts

Attributes

Inherited from:
CoursierConfigModule
Source
CoursierConfigModule.scala

Default JSON configuration files to be used by coursier

Default JSON configuration files to be used by coursier

Attributes

Inherited from:
CoursierConfigModule
Source
CoursierConfigModule.scala
def defaultCredentials: Task[Seq[Credentials]]

Default repository credentials to be used by coursier

Default repository credentials to be used by coursier

Attributes

Inherited from:
CoursierConfigModule
Source
CoursierConfigModule.scala
def defaultMirrors: Task[Seq[Mirror]]

Default mirrors to be used by coursier

Default mirrors to be used by coursier

Attributes

Inherited from:
CoursierConfigModule
Source
CoursierConfigModule.scala
def defaultRepositories: Task[Seq[Repository]]

Default repositories for dependency resolution

Default repositories for dependency resolution

Attributes

Inherited from:
CoursierConfigModule
Source
CoursierConfigModule.scala
def defaultTtl: Task[Option[Duration]]

Default TTL used by coursier when downloading changing artifacts such as snapshots

Default TTL used by coursier when downloading changing artifacts such as snapshots

Attributes

Inherited from:
CoursierConfigModule
Source
CoursierConfigModule.scala

Attributes

Inherited from:
RootModule0
Source
RootModule0.scala
def moduleDir: Path

Attributes

Inherited from:
Module
Source
Module.scala

Attributes

Inherited from:
Module
Source
Module.scala
override def moduleSegments: Segments

Attributes

Definition Classes
Inherited from:
ExternalModule
Source
ExternalModule.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Module -> Any
Inherited from:
Module
Source
Module.scala

Concrete fields

Attributes

Source
CoursierConfigModule.scala