Creating a multiple nested file tree or file collection


(Dimitar Vassilev) #1

Hello,
How one can create a multi-level hierarchical file tree? In the documentation we have
FileTree tree = fileTree(dir: ‘src/main’)

My objective is that I need to create some sub directories under a main one - e.g mainDir/{dir1/dir2/dir3}

Many thanks!