Skip to content

libraryDependencySchemes overrides assumedVersionScheme #415

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

Merged
merged 3 commits into from
May 7, 2023

Conversation

adriaanm
Copy link
Contributor

@adriaanm adriaanm commented May 4, 2023

Allow user to suppress eviction errors for a specific library.

We want the user to be able to suppress eviction errors for a specific library,
even (especially?) if they would result in an incompatible eviction
based on the assumed version scheme.

So, only fall back to the assumed scheme if there is no given scheme by the user or the pom.

Fix sbt/sbt#6745

adriaanm added 3 commits May 4, 2023 21:04

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
... even if they would result in an incompatible eviction
based on the assumed version scheme.
@eed3si9n
Copy link
Member

eed3si9n commented May 5, 2023

Overall LGTM. Thanks for the contribution!

I think I did add some (integrationish) test in https://github.com/sbt/librarymanagement/blob/develop/ivy/src/test/scala/sbt/internal/librarymanagement/EvictionErrorSpec.scala when I first added EvictionError. Could you kindly repro the original bug and add test for it using scala-java8-compat please?

#416

@adriaanm
Copy link
Contributor Author

Thanks for merging! Sorry, missed the notification! I've gone dark on github for some time and forgot to re-enable them.

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

Successfully merging this pull request may close these issues.

libraryDependencySchemes doesn't seem to work for scala-java8-compat
2 participants