Skip to content

Commit

Permalink
Add settings to make *.jar files more reproducible
Browse files Browse the repository at this point in the history
  • Loading branch information
floscher committed Jun 2, 2022
1 parent ffc4c5a commit 11a6519
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ allprojects {
tasks.findByName("test")?.let { dependsOn(it) }
logCoverage()
}

tasks.withType(Zip::class).all {
// make the produces archives (more) reproducible
isReproducibleFileOrder = true
isPreserveFileTimestamps = false
}
}

subprojects {
Expand Down

0 comments on commit 11a6519

Please sign in to comment.