[GRADLE-1708] Can't specify more than one artifact pattern for ivy repositories Created: 01/Aug/11  Updated: 04/Jan/13  Resolved: 12/Sep/11

Status: Resolved
Project: Gradle
Affects Version/s: 1.0-milestone-4
Fix Version/s: 1.0-milestone-5

Type: Bug
Reporter: Levi Hoogenberg Assignee: Daz DeBoer
Resolution: Fixed Votes: 2

Attachments: File failing-build.gradle     File working-build.gradle    


When adding more than one artifact pattern to an Ivy repository (gradle -b failing-build.gradle tasks), Gradle fails with the message Cannot add a resolver with name 'ivy' as a resolver with that name already exists. This worked fine in 1.0-m3.

A workaround is to declare a repository per artifact pattern (working-build.gradle).

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