Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Strategy for transitive conflicts (or minimal version)? #54

Open
slavashvets opened this issue Apr 20, 2017 · 1 comment
Open

Strategy for transitive conflicts (or minimal version)? #54

slavashvets opened this issue Apr 20, 2017 · 1 comment

Comments

@slavashvets
Copy link

slavashvets commented Apr 20, 2017

Assume we have an external library with transitive dependecy:

external:lib:2.0
\ -- external:lib-trans:1.2

In the past lib-trans v1.0 had a major bug and was updated to v1.1, and then to v1.2 because of a minor bug

My build.gradle:

compile('external:lib')

My version.properties:

external:lib=2.0
external:lib-trans=1.1

In this case version.properties means "I know that I need external:lib-trans v1.1 or higher to get application worked (major bugfix)".

But I also want to use higher version if it's available (minor bugfix).

When I use OverrideTransitives strategy, I get 1.1 version resolved, but I expect 1.2.

How can I tell plugin to perform conflict resolution when a dependency is transitive?

@rspieldenner
Copy link
Contributor

rspieldenner commented Apr 20, 2017 via email

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants