Skip to content
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

sbt-coursier does not enable configuration of the FileCache.localArtifactsShouldBeCached setting #7547

Open
bishabosha opened this issue Apr 24, 2024 · 0 comments

Comments

@bishabosha
Copy link

bishabosha commented Apr 24, 2024

For launching the new scala command (SIP 46), we want to cache the compiler artefacts in a local repo that is bundled in the zip, so Scala CLI can resolve the artefacts from here. This isn't possible to do within sbt from the librarymanagement API because there is no configuration to allow caching of local artefacts.

what happens is coursier will resolve all library dependencies and put them in the cache, but anything in local repo is skipped. There's a setting localArtifactsShouldBeCached which should prevent skipping, but it is only configurable from Coursier CLI.

refs: see scala/scala3#20098

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant