From 5f0d1fbd0c4631252c75c9d20b14ff69d416bc9b 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)