Skip to content

Commit

Permalink
Make generated archive files reproducible (#13835)
Browse files Browse the repository at this point in the history
* Make generated archive files reproducible

This should ensure deterministic archive files and fix issues with changing checksums even
though the codebase has not changed
  • Loading branch information
breskeby authored Oct 10, 2024
1 parent ba72d22 commit 5f0d1fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gradle/hacks/gradle-archives.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
allprojects {
tasks.withType(AbstractArchiveTask).configureEach { task ->
duplicatesStrategy = DuplicatesStrategy.FAIL
preserveFileTimestamps = false
reproducibleFileOrder = true
dirPermissions {
it.unix(0755)
Expand Down

0 comments on commit 5f0d1fb

Please sign in to comment.