gradle: Reproducible builds

This commit is contained in:
Owain van Brakel
2019-11-07 10:14:08 +01:00
parent 96a3de0778
commit 9aa2ecf061

View File

@@ -129,6 +129,13 @@ subprojects {
withType<JavaCompile> {
options.encoding = "UTF-8"
}
withType<AbstractArchiveTask> {
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
dirMode = 755
fileMode = 644
}
}
}