diff --git a/build.gradle b/build.gradle index ffdc11bc79..c39c0edbcb 100644 --- a/build.gradle +++ b/build.gradle @@ -167,6 +167,13 @@ subprojects { } } } + + tasks.withType(AbstractArchiveTask).configureEach { + // Use file timestamps from the file system + preserveFileTimestamps = true + // Use permissions from the file system + useFileSystemPermissions() + } } ext.getCurrentArch = {