On 21/06/2011, at 6:34 PM, Mark Davidson wrote:

> That works really well. Thanks for this - much appreciated! To have a single 
> project generating multiple jars compared to 20+ related projects could be a 
> real timesaver for me.
> 
> Would I have to do something some extra configuration to get 'gradle install' 
> to work as well?


Sure is…

install {
    repositories.mavenInstaller {
        repository(url: "file://localhost/tmp/myRepo/")
        components.each { component ->
            addFilter(component.name) { artifact, file -> artifact.name == 
component.name }
        }
    }
}

-- 
Luke Daley
Principal Engineer, Gradleware 
http://gradleware.com

Please vote Gradle for JAX Awards » http://vote.jax-awards.com




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

    http://xircles.codehaus.org/manage_email


Reply via email to