[GRADLE-610] Make it easier to add a URL repository Created: 29/Aug/09 Updated: 04/Jan/13 Resolved: 03/May/11 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 1.0-milestone-3 |
Type: | Improvement | ||
Reporter: | Adam Murdoch | Assignee: | Adam Murdoch |
Resolution: | Fixed | Votes: | 1 |
Issue Links: |
|
Description |
Currently, you have to do: import org.apache.ivy.plugins.resolver.* repositories { add(new URLResolver()) { name = 'sf_gradleRepo' addArtifactPattern('http://gradle.sourceforge.net/gradleRepo/[organisation]/[module](/[branch])/[type]s/[artifact]-[revision](-[classifier])(.[ext])') } } We should add a convenience method to simplify this. |
Comments |
Comment by Hans Dockter [ 31/Aug/09 ] |
We could add a convenient method for this as we do for the other repositories. I'd rather fix it for 0.9 by providing our own Repository domain objects, |