On 24/05/2011, at 5:07 PM, Sky Ao wrote:

>     I want to write a plugin for Felix to deploy packaged bundle to felix and 
> run, like Jetty plugin. But I don't know how to download files from ivy/maven 
> repository in plugin.
> 
>     I checked jetty plugin and nothing found for this, and there are some 
> jetty libs in gradle release. 
> 
>     I don't want to add felix jar to gradle, I would like to download what I 
> need from ivy/maven repository. 
> 
>     How to to this ? 

I recently had to do a similar kind of thing with the Google App Engine SDK.

https://github.com/geb/geb/blob/master/doc/site-app/build.gradle#L43

Basically, I created a custom configuration with just the dependency I wanted 
then used configurations.«config-name».singleFile to get a reference to the 
dependency I wanted to work with. You could then copy this reference to 
wherever you need to put it.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to