-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can not config repository mirror via ~/.config/coursier/mirror.properties #2312
Comments
Thanks for reporting. The referenced documentation lists multiple ways to configure mirrors, e.g. gloabal properties file, env variable, properties, .... Which one did not work? Have you tried the other variants? |
I tryed global properties( |
@yuchangyuan My experience is that mill can work well via proxy repositories, here's some stuff I tried / needed depending on different circumstances. Here is some extra stuff you can try in build.sc
Perhaps try configured ammonites proxies too.
and predef.sc
Maybe this helps, maybe not ... |
thank you for your advise. but in order to apply this approach, I need modify |
find something interesting, mill itself(and dependency of mill) will download from mirror, but dependency of actual project will not. I have just try set PS, below is the
|
It's
|
Repository mirror for coursier can be config in ~/.config/coursier/mirror.properties(in Linux), but this seems not apply to mill.
ref1: https://get-coursier.io/blog/2019/07/05/1.1.0-M14#mirrors
ref2: https://scalameta.org/metals/docs/troubleshooting/proxy/#mirrors
The text was updated successfully, but these errors were encountered: