[GRADLE-1794] Gradle does not download transitive dependencies that are in subsequent mavenRepo urls Created: 14/Sep/11 Updated: 04/Jan/13 Resolved: 17/Sep/11
|Resolution:||Not A Bug||Votes:||0|
Need to be able to download POMs from more than one mavenRepo url.
A workaround for now:
Tried to find a better approach but could only see this explanation]:
|Comment by Daz DeBoer [ 14/Sep/11 ]|
For a single defined maven repository, gradle will only use the first defined URL to locate POMs, subsequent URLs are only used to locate artifacts referenced by POMs in the first location. Unfortunately, the DSL syntax is unclear; see
In your case, you want to look up POMS + artifacts in 2 different maven repositories. This is done by declaring 2 repositories:
|Comment by Matt Callanan [ 14/Sep/11 ]|
Ah, that explains it. Thanks Daz, works fine now.