Skip to content

Commit

Permalink
gradle: Do not preserve file timestamps to make builds reproducible
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBab committed Nov 30, 2024
1 parent f677d92 commit 8b01ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ task buildJar(type: Jar) {
exclude 'freenet/node/Version$1.class'
}
from(compileVersion.destinationDirectory)
preserveFileTimestamps = true
preserveFileTimestamps = false
reproducibleFileOrder = true
duplicatesStrategy = DuplicatesStrategy.FAIL
archivesBaseName = "freenet"
Expand Down

0 comments on commit 8b01ee9

Please sign in to comment.