Mike Mills wrote:
> 
> For each configuration an upload<Configuration Name> closure needs to be
> added
> [...]
> This seems a little clunky, is there a better way to declare this?
> 

tasks.withType(Upload) {
   uploadDescriptor = true 
    repositories { 
        add project.repositories.fileRepo 
    } 
}

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Blog: http://pniederw.wordpress.com
Twitter: @pniederw




--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Uploading-Custom-Configurations-Issue-tp4481688p4482638.html
Sent from the gradle-user mailing list archive at Nabble.com.

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

    http://xircles.codehaus.org/manage_email


Reply via email to