Make generated archive files reproducible (#13835)

* Make generated archive files reproducible

This should ensure deterministic archive files and fix issues with changing checksums even
though the codebase has not changed
This commit is contained in:
Rene Groeschke 2024-10-10 11:49:41 +02:00 committed by Dawid Weiss
parent 9a3467d352
commit d888f6d5a7
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@
allprojects {
tasks.withType(AbstractArchiveTask).configureEach { task ->
duplicatesStrategy = DuplicatesStrategy.FAIL
preserveFileTimestamps = false
reproducibleFileOrder = true
dirPermissions {
it.unix(0755)