[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
This commit is contained in:
PJ Fanning 2023-06-12 10:10:37 +00:00
parent 0dc3d6e479
commit 0c62fc12f8
1 changed files with 5 additions and 1 deletions

View 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()