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

Add the option to ignore version locks on the transitive dependencies of an overridden dependency. #83

Open
drobertduke opened this issue Dec 17, 2015 · 0 comments

Comments

@drobertduke
Copy link

Here's the scenario:

A project has a direct dependency and a transitive dependency. They are both locked to a specific version in the project's lock file. I run gradle with dependencyLock.override=directDependency:[new version].

What currently happens:

The direct dependency version is overridden but the transitive dependency version stays locked, regardless of what version the new direct dependency requests.

What I want an option for:

The direct dependency version is overridden and the lock on the transitive dependency is ignored, so the transitive version will be resolved properly in relation to the new direct dependency.

My proposal is that we add an alternative to the 'override' option like 'overrideAndIgnoreTransitiveLocks'. Another option would be that when the existing 'override' parameter is used with includeTransitives=true , then we ignore the transitive locks. But that seems like overloading includeTransitives.

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