Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-2738

conflict resolution with a mix of dynamic versions and static versions may downgrade a version

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7-rc-1

      Description

      If module participates in conflict resolution and candidates are declared by a mix of dynamic versions and static versions, then the dynamic constraints incorrectly downgrades a version.

      Example:

      1. Candidates of conflict resolution: foo:1.0, foo:[1.5, 1.9], foo:2.0+
      2. Only foo:1.5 is available in the repository
      3. Dependency resolution succeeds and selected version for foo:2.0+ is foo:1.5 which clearly does not meet the 2.0+ constraint.

      Please look for a test case for this issue in the codebase (marked with @Issue).

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            szczepiq Szczepan Faber
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development