On Nov 21, 2010, at 1:36 PM, Etienne Studer wrote:
> This will do it. For clarification, I defined the variables with explicit
> types (rather than def):
>
> task printProjectArtifacts << {
> Configuration archivesConfiguration = configurations.archives
> Set<File> files = archivesConfiguration.allArtifactFiles.files
> files.each { println it }
> }
>
> Note that you can have more than one artifact in a project. Hence there is a
> Set of artifacts per configuration.
Thank you Etienne, that is very helpful. I will give this a try.
--
Jason Voegele
Fried's 1st Rule:
Increased automation of clerical function
invariably results in increased operational costs.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email