build.gradle: normalize file/directory permissions within JARs

This aims to make our build reprodicible.
This commit is contained in:
Sean Gilligan 2023-09-18 16:24:42 -07:00 committed by Andreas Schildbach
parent f41b495610
commit 56658e44de

View File

@ -57,6 +57,11 @@ tasks.withType(AbstractArchiveTask) {
reproducibleFileOrder = true
}
tasks.withType(Jar) {
dirMode = 0755
fileMode = 0644
}
tasks.withType(Javadoc) {
options.noTimestamp = true
}