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

Support : instead of % in transitive dependency exclusion clauses #3355

Open
Gedochao opened this issue Dec 6, 2024 · 0 comments
Open

Support : instead of % in transitive dependency exclusion clauses #3355

Gedochao opened this issue Dec 6, 2024 · 0 comments
Labels
coursier Issues tied with coursier integration. dependency management Issues tied to how the CLI manages project dependencies. enhancement New feature or request

Comments

@Gedochao
Copy link
Contributor

Gedochao commented Dec 6, 2024

Is your feature request related to a problem? Please describe.
We currently support as-is coursier dependency syntax for excluding transitive dependencies, as per https://scala-cli.virtuslab.org/docs/guides/introduction/dependencies/#excluding-transitive-dependencies.
Because of some internal coursier workarounds, the exclusion syntax cannot use :, and % is used as separator instead.
We could, however, support either by translating with Scala CLI.

Describe the solution you'd like

//> using dep com.lihaoyi::pprint:0.8.1,exclude=com.lihaoyi%%sourcecode

and

//> using dep com.lihaoyi::pprint:0.8.1,exclude=com.lihaoyi::sourcecode

could be equivalents.

cc @prolativ @tgodzik

@Gedochao Gedochao added enhancement New feature or request coursier Issues tied with coursier integration. dependency management Issues tied to how the CLI manages project dependencies. labels Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coursier Issues tied with coursier integration. dependency management Issues tied to how the CLI manages project dependencies. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant