List files recursively

This shows how to list all files and directories under the current directory.

new File("test").eachFileRecurse() { file ->
	println file.getPath()
}
test\bar
test\bar\bar.txt
test\foo
test\foo\foo.txt
test\foo\sub
test\foo\sub\sub.txt
test\test.txt