I have the exact same requirement described at:
In short, I would need a way to specify to Gradle Sync task that a specific file/folder on the destination path should just be ignored/preserved. It seems it’s not possible in Gradle right now, while it is with Ant.
I would appreciate if you could ad a JIRA issue for this. Thanks in advance.