You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would need a third strategy for that. We welcome a pull request for the
functionality.
Right now we have ConflictResolved where recommender just adds versions for
missing versions and does normal conflict resolution.
And OverrideTransitive where transitives go to what is in the recommender.
On Thu, Apr 20, 2017 at 4:43 AM Viacheslav Shvets ***@***.***> wrote:
Assume we have an external library with transitive dependecy:
external:lib:2.0
\ -- external:lib-trans:1.2
In 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?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#54>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAvvFuPz24VHfyq5BDX6T2x6qj4W0mlhks5rx0TygaJpZM4NC6cn>
.
Assume we have an external library with transitive dependecy:
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 bugMy build.gradle:
My version.properties:
In this case
version.properties
means "I know that I needexternal: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 get1.1
version resolved, but I expect1.2
.How can I tell plugin to perform conflict resolution when a dependency is transitive?
The text was updated successfully, but these errors were encountered: