On 23/07/2011, at 6:24 AM, Szczepan Faber wrote:

>> 1) how to I apply this filter throughout ALL assemble tasks (project
>> and subproject).  Do I need to call project.allProjects and iterate
>> each project, then apply this filter to each assemble task?
> 
> Yeah, pretty much.

You can just use the allprojects(Closure configuration) method.

allprojects {
        task assemble(overwrite: true) {
                dependsOn tasks.withType(AbstractArchiveTask).matching { 
!locales.collect { BUNDLE_ARTIFACT_TASK_PREFIX[it] }.contains(it.name) }
        }
}

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


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

    http://xircles.codehaus.org/manage_email


Reply via email to