[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:
Related
Related to GRADLE-563 nicer way of accessing Maven password... Resolved

 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,

Generated at Wed Jun 30 11:34:20 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.