Skip to content

Commit

Permalink
Enable reproducible builds
Browse files Browse the repository at this point in the history
(cherry picked from commit 4f5554e)
  • Loading branch information
thecatcore committed Feb 25, 2024
1 parent 4d593f9 commit 9758fa8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,11 @@ tasks.withType(JavaCompile).configureEach {
it.options.release = 17
}

tasks.withType(AbstractArchiveTask).configureEach {
it.preserveFileTimestamps = false
it.reproducibleFileOrder = true
}

spotless {
lineEndings = com.diffplug.spotless.LineEnding.UNIX

Expand Down

0 comments on commit 9758fa8

Please sign in to comment.