Skip to content
This repository has been archived by the owner on May 22, 2022. It is now read-only.

Using compile scope makes dependencyOverrides have no effect #34

Open
dmitchellmim opened this issue Oct 29, 2020 · 1 comment · May be fixed by #40
Open

Using compile scope makes dependencyOverrides have no effect #34

dmitchellmim opened this issue Oct 29, 2020 · 1 comment · May be fixed by #40

Comments

@dmitchellmim
Copy link

Starting in 0.6.2 (#30), this plugin's lock file scopes the dependencyOverrides under Compile. However, sbt seems to ignore these scoped overrides, even under the Compile scope. Here is a sample Play project where I reproduced the issue. Using show update according to sbt documentation, I can verify that sbt does not choose the overridden version. As a result, the lock file doesn't actually lock the version—the application uses the wrong version when running. Downgrading to 0.6.1 fixes the problem. Is it possible to set the overrides properly while still supporting the use case in #30?

@jtjeferreira
Copy link
Contributor

I think the best solution is to revert #30

@jtjeferreira jtjeferreira linked a pull request Aug 27, 2021 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants