]> source.dussan.org Git - poi.git/commitdiff
[bug-66644] enable reproducible build settings in gradle
authorPJ Fanning <fanningpj@apache.org>
Mon, 12 Jun 2023 10:10:37 +0000 (10:10 +0000)
committerPJ Fanning <fanningpj@apache.org>
Mon, 12 Jun 2023 10:10:37 +0000 (10:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910364 13f79535-47bb-0310-9956-ffa450edef68

build.gradle

index 34c3dbeea7247788f09af840747e406341593718..0d63efa898f2036ec5a145d5cd132c3ed9264548 100644 (file)
@@ -76,7 +76,7 @@ ant.taskdef(name: "junit",
 
 
 wrapper {
-    gradleVersion = '8.0.1'
+    gradleVersion = '8.1.1'
 }
 
 task adjustWrapperPropertiesFile {
@@ -169,6 +169,10 @@ subprojects {
     tasks.withType(Javadoc) {
         options.encoding = 'UTF-8'
     }
+    tasks.withType(AbstractArchiveTask).configureEach {
+        preserveFileTimestamps = false
+        reproducibleFileOrder = true
+    }
 
     repositories {
         mavenCentral()