Enable reproducible builds

This commit is contained in:
haykam821 2023-11-23 18:07:23 -05:00
parent b35ad99fd6
commit 770020e6fb
No known key found for this signature in database
GPG Key ID: 64DE485366941734
1 changed files with 5 additions and 0 deletions

View File

@ -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