-
Notifications
You must be signed in to change notification settings - Fork 151
Description
Is your feature request related to a problem? Please describe.
I have a script with a number of dependencies, and every time I run the script, it spends some time downloading or checking dependencies.
Downloading https://jitpack.io/org/scala-lang/scala3-library_3/
Checking https://repo1.maven.org/maven2/org/scala-lang/scala3-library_3/
Failed to check https://repo1.maven.org/maven2/org/scala-lang/scala3-library_3/
...
It can take a long time (more than 1min in CI), but it's useless because all dependencies are already there in the local cache.
Describe the solution you'd like
I would like an option that prevents downloading or checking dependencies that are already in the local cache.
Describe alternatives you've considered
I found --suppress-outdated-dependency-warning and scala-cli config actions true but they only disable the warnings, they don't stop this process of checking all dependencies.
There is also --offline but it would fail in the case where I really don't have the dependency so it's not ideal.