Skip to content

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

@slavashvets

Description

@slavashvets

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions