Found an old thread on this that provides a solution:
http://markmail.org/thread/p4mquxemamr73gmt2009/11/1 Tim Yates <
tim.yates@...>:
> Best I can think of is:
>
> new AntBuilder().fileset( dir:"foo/bar" ) { include ( name:"*.baz" ) }
>
> Tim
>
> On Sun, Nov 1, 2009 at 12:52 AM, Robert Fischer
> <
robert.fischer@...> wrote:
>>
>> I'd like to expand ./foo/bar/*.baz a la the file system or Ant, and I'd
>> like to get a file back from that. Is there an easy way to do this in
>> Groovy or Gradle?
>>
>> --
>> ~~ Robert Fischer, Smokejumper IT Consulting.
>> Enfranchised Mind Blog
http://EnfranchisedMind.com/blog>>
>> Grails Expert Retainer Services
>>
http://smokejumperit.com/grails-retainer/>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>
http://xircles.codehaus.org/manage_email>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email