From 14973fd6f3c352719ddf1bd51d2105322d90805a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Tue, 7 Mar 2023 18:49:32 +0100 Subject: [PATCH] Unset reproducibleFileOrder and preserveFileTimestamps Gradle flags This commit reverts the changes done via 50a0094a47bc25539ccca4cb184af53f44aff3f0 in order to ensure consistency across modules (those changes were specific to spring-core). Reproducible builds are likely desirable, but it is a complex topic (see gradle/gradle#14819) that needs to be addressed portfolio wide, with a better control than what Gradle currently allows (for example to allow using EPOCH instead of the current 1980 date). Basic tests did not show an obvious impact on testing avoidance with modern Gradle versions. Closes gh-29633 --- spring-core/spring-core.gradle | 2 -- 1 file changed, 2 deletions(-) diff --git a/spring-core/spring-core.gradle b/spring-core/spring-core.gradle index b9e94cfba9..21d265aaa8 100644 --- a/spring-core/spring-core.gradle +++ b/spring-core/spring-core.gradle @@ -97,8 +97,6 @@ dependencies { } jar { - reproducibleFileOrder = true - preserveFileTimestamps = false // maybe not necessary here, but good for reproducibility manifest.attributes["Dependencies"] = "jdk.unsupported" // for WildFly (-> Objenesis 3.2) dependsOn javapoetRepackJar