I am trying to recursively list all files that match a particular file type in Groovy. This example almost does it. However, it does not list the files in the root folder. I
replace eachDirRecurse by eachFileRecurse and it should work.
eachDirRecurse
eachFileRecurse