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 GitHub
parent ba72d2285d
commit 5f0d1fbd0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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)