Gradle Copy Task doesn't appear to honor dirMode / fileMode or the Umask of the Gradle JVM if the file path is modified for sub directories · Issue #7364 · gradle/gradle · GitHub
Copy task should copy files only if changed · Issue #1643 · gradle/gradle · GitHub