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 and dweiss committed Oct 10, 2024
1 parent 9a3467d commit d888f6d
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 d888f6d

Please sign in to comment.