hi there,

for a inhouse gradle intro I want to demonstrate the urlresolver with
gradle. In my example, I try to resolve the spock framework directly
from its homepage.
But I'm not able to resolve the file correctly.

I use the following snippet:
--------------
...
repositories{
    add(new org.apache.ivy.plugins.resolver.URLResolver()) {
            name = 'spock-repo'
           
addArtifactPattern('http://spock.googlecode.com/files/[artifact]-[revision](-[classifier])(.[ext])')
   }
}

dependencies{
    testCompile ":spock-core:0.4:groovy-1.7"
}
--------------

When I run "compileTestGroovy" I got an error that the dependency
could't be resolved, but I can see that it tries to resolve it via
http://spock.googlecode.com/files/spock-core-0.4-groovy-1.7.jar which
seems to be the right url, since wget works fine.

What obvious is wrong here? Any Ideas? BTW.: I think i still have
problems with the naming. what is the difference between module and
artifact in the ivy pattern?

regards,
René

-- 
------------------------------------
Rene Groeschke

[email protected]
http://www.breskeby.com
http://twitter.com/breskeby
------------------------------------


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to