@Scaladoc(value = "/**\n * Reads coursier environment variables and Java properties\n *\n * This module reads environment variables and Java properties, and uses\n * them to get default values for a number of coursier parameters, such as:\n *\n * * the coursier cache location, read from `COURSIER_CACHE` in the environment\n * and `coursier.cache` in Java properties. It is recommended to use an\n * absolute path rather than a relative one.\n *\n * * the coursier archive cache location, read from `COURSIER_ARCHIVE_CACHE` in\n * the environment and in `coursier.archive.cache` in Java properties.\n *\n * * credentials, read from `COURSIER_CREDENTIALS` in the environment, and\n * `coursier.credentials` in Java properties. Its format is documented\n * here: https://github.com/coursier/coursier/blob/701e93664855709db38e443cb7a19e36ddc49b78/doc/docs/other-credentials.md\n *\n * * TTL for snapshot artifacts / version listings / etc., read from\n * `COURSIER_TTL` in the environment and `coursier.ttl` in Java properties.\n * This value is parsed with `scala.concurrent.duration.Duration`, and accepts\n * formats like \"5 hours\", \"1 day\", etc. or just \"0\".\n *\n * * default repositories, read from `COURSIER_REPOSITORIES` in the environment\n * and `coursier.repositories` in Java properties. It can be set to values like\n * \"ivy2Local|central|https://maven.google.com\". Its format is documented here:\n * https://github.com/coursier/coursier/blob/701e93664855709db38e443cb7a19e36ddc49b78/doc/docs/other-repositories.md\n *\n * * mirror repository files, read from `COURSIER_MIRRORS` and `coursier.mirrors`,\n * whose file they point to should contains things like\n *\n * google.from=https://repo1.maven.org/maven2\n * google.to=https://maven.google.com\n *\n * Environment variables always have precedence over Java properties.\n */")
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:
the coursier cache location, read from COURSIER_CACHE in the environment and coursier.cache in Java properties. It is recommended to use an absolute path rather than a relative one.
the coursier archive cache location, read from COURSIER_ARCHIVE_CACHE in the environment and in coursier.archive.cache in Java properties.
TTL for snapshot artifacts / version listings / etc., read from COURSIER_TTL in the environment and coursier.ttl in Java properties. This value is parsed with scala.concurrent.duration.Duration, and accepts formats like "5 hours", "1 day", etc. or just "0".
@Scaladoc(value = "/**\n * Miscellaneous machinery around traversing & querying the build hierarchy,\n * that should not be needed by normal users of Mill\n */")
@Scaladoc(value = "/**\n * Default archive cache location to be used by coursier\n *\n * This is the directory under which archives are unpacked\n * by `coursier.cache.ArchiveCache`. This includes JVMs\n * managed by coursier, which Mill relies on by default.\n */")
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.