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

import $repo doesn't support the coursier repository short syntax #1337

Open
alexarchambault opened this issue Apr 13, 2023 · 0 comments
Open

Comments

@alexarchambault
Copy link
Collaborator

For example, the following doesn't work fine:

@ import $repo.`sonatype:snapshots`
import $repo.$

@ import $ivy.`io.github.alexarchambault::class-path-inspector:0.1.0-SNAPSHOT`
Failed to resolve ivy dependencies:URL sonatype:snapshots/io/github/alexarchambault/class-path-inspector_2.12/0.1.0-SNAPSHOT/class-path-inspector_2.12-0.1.0-SNAPSHOT.pom doesn't contain an absolute path

Ammonite doesn't parse the repository string sonatype:snapshots using coursier.parse.RepositoryParser.repository.

As Ammonite uses coursier via coursier-interface, we should ensure this method can be used via coursier-interface, then use that from Ammonite.

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