Repository navigation
Add mill-repositories header to customize repository config globally, allow scala nightlies via repositories: - #6713
Merged
Conversation
lihaoyi
force-pushed
the
header-global-repositories
branch
from
January 29, 2026 02:31
bf7d074 to
d4b20f4
Compare
lihaoyi
force-pushed
the
header-global-repositories
branch
from
January 29, 2026 03:04
19d3b2d to
caaf494
Compare
lihaoyi
force-pushed
the
header-global-repositories
branch
from
January 29, 2026 03:59
06cf18b to
61ce7a5
Compare
mill-repositories header to customize repository config globallymill-repositories header to customize repository config globally, allow scala nightlies via repositories:
lihaoyi
force-pushed
the
header-global-repositories
branch
from
January 29, 2026 08:25
98bb347 to
4a20609
Compare
This was referenced Jan 29, 2026
lihaoyi
pushed a commit
that referenced
this pull request
Feb 13, 2026
β¦6819) This gets rid of the need of `MILL_LOCAL_TEST_REPO` and `MILL_USER_TEST_REPO` from #5514, and manages those repos solely via the `COURSIER_REPOSITORIES` environment variable. That way, the repositories from `mill-repositories` of #6713 automatically get precedence over the former repos. This addresses issues I've been seeing locally, where some artifacts under `~/.ivy2/local` were being used by the JvmWorker, while they shouldn't.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two separate fixes:
Fixes Expose the YAML frontmatter configuration via a runtime APIΒ #5192 by supporting
mill-repositories, which lets the user set the default repositories used throughout Mill: not just in modules but in workers, in the Mill bootstrap procress, etc. This is necessary for people who want to e.g. download Mill from their own mirror of maven central for security purposes, and need all artifacts to come from there instead. For now just hardcoding support formill-repositories, since I can't think of use cases for exposing other things at the momentFixes Simplify usage of Scala 3 nightliesΒ #6631 by letting the
scala-compiler-bridgedownloads to use each module's individualrepositories, rather than relying on the hardcoded globalmill-repositories. So any module can setrepositoriesto include the nightlies URL and setscalaVersionto be a nightly and have it just workCovered by an integration and an example test respectively