[GRADLE-1732] CommonsHttpClientBackedRepository doesn't support version ranges Created: 08/Aug/11 Updated: 04/Jan/13 Resolved: 16/Oct/11 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 1.0-milestone-5 |
Type: | Improvement | ||
Reporter: | Phil Messenger | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Issue Links: |
|
Description |
This caused quite a lot of confusion here - if an Ivy repository is defined using the code below, a CommonsHttpClientBackedRepository is created. This does not support version ranges. Perhaps instead using the ivy closure should result in a UrlResolver being created instead. Doesn't support version ranges: repositories { ivy { name = ".." artifactPattern "http://..." } } Does support version ranges, but the syntax is ugly: repositories { add(new org.apache.ivy.plugins.resolver.URLResolver()) { name = 'repo' addArtifactPattern "http://..." } } |