Skip to content

Commit

Permalink
build: Make all archive tasks reproducible
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuxel committed Jun 19, 2023
1 parent 27c7fb8 commit aa0b7ab
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 @@ -189,6 +189,12 @@ subprojects {
"jar"(Jar::class) {
from(rootProject.file("LICENSE"))
}

// Make all archives reproducible.
withType<AbstractArchiveTask> {
isReproducibleFileOrder = true
isPreserveFileTimestamps = false
}
}
}

Expand Down

0 comments on commit aa0b7ab

Please sign in to comment.