[GRADLE-2738] conflict resolution with a mix of dynamic versions and static versions may downgrade a version Created: 08/Apr/13  Updated: 28/Jun/13  Resolved: 28/Jun/13

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 1.7-rc-1

Type: Bug
Reporter: Szczepan Faber Assignee: Unassigned
Resolution: Fixed Votes: 0


 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).


Generated at Wed Jun 30 12:30:08 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.