task copyAssets(type: Copy) {
from fileTree('../../Resources').files
into 'assets'
}
:
* How do I flatten when copy? - Old Forum - Gradle Forums
* Working With Files - Gradle User Guide Version 3.0: 18.3. File trees
* FileTree (Gradle API 3.0))