[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:
Duplicated by GRADLE-1789 Repositories.ivy() does not handle dy... Resolved


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://..."	

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