From d888f6d5a78fd1e7ac031de504c88f45113e912f Mon Sep 17 00:00:00 2001 From: Rene Groeschke Date: Thu, 10 Oct 2024 11:49:41 +0200 Subject: [PATCH] Make generated archive files reproducible (#13835) * Make generated archive files reproducible This should ensure deterministic archive files and fix issues with changing checksums even though the codebase has not changed --- gradle/hacks/gradle-archives.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/gradle/hacks/gradle-archives.gradle b/gradle/hacks/gradle-archives.gradle index cc8561c47a0..363b6765140 100644 --- a/gradle/hacks/gradle-archives.gradle +++ b/gradle/hacks/gradle-archives.gradle @@ -19,6 +19,7 @@ allprojects { tasks.withType(AbstractArchiveTask).configureEach { task -> duplicatesStrategy = DuplicatesStrategy.FAIL + preserveFileTimestamps = false reproducibleFileOrder = true dirPermissions { it.unix(0755)