aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2023-06-12 10:10:37 +0000
committerPJ Fanning <fanningpj@apache.org>2023-06-12 10:10:37 +0000
commit0c62fc12f8c996693398a8016b4dd18590e58393 (patch)
tree9e8b6f81182e61a9e6c907baefe58795010e12d0
parent0dc3d6e479d680b754cce4249785dc55ba497b96 (diff)
downloadpoi-0c62fc12f8c996693398a8016b4dd18590e58393.tar.gz
poi-0c62fc12f8c996693398a8016b4dd18590e58393.zip
[bug-66644] enable reproducible build settings in gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910364 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build.gradle6
1 files changed, 5 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 34c3dbeea7..0d63efa898 100644
--- a/build.gradle
+++ b/build.gradle
@@ -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()