Skip to content

Commit

Permalink
Enable reproducible builds (#3740)
Browse files Browse the repository at this point in the history
  • Loading branch information
haykam821 authored Nov 24, 2023
1 parent b35ad99 commit a0f3a0c
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 @@ -275,6 +275,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 a0f3a0c

Please sign in to comment.