Skip to content

Commit

Permalink
Merge pull request #1162 from SimonMarquis/patch-2
Browse files Browse the repository at this point in the history
Enforce reproducible builds
  • Loading branch information
Raibaz committed Sep 25, 2023
2 parents 615b780 + b87b4d8 commit d6a8b65
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions buildSrc/src/main/kotlin/buildsrc/convention/base.gradle.kts
Expand Up @@ -34,3 +34,9 @@ tasks.withType<Test>().configureEach {
)
}
}

// Enforce reproducible builds: https://docs.gradle.org/current/userguide/working_with_files.html#sec:reproducible_archives
tasks.withType<AbstractArchiveTask>().configureEach {
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
}

0 comments on commit d6a8b65

Please sign in to comment.