mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-21 20:56:45 +01:00
Make builds reproducible (#4395)
Signed-off-by: Alexander Brandes <mc.cache@web.de>
This commit is contained in:
parent
d383187c6e
commit
bc1cc074b8
@ -113,5 +113,6 @@ tasks {
|
||||
opt.encoding("UTF-8")
|
||||
opt.keyWords()
|
||||
opt.addStringOption("-since", isRelease)
|
||||
opt.noTimestamp()
|
||||
}
|
||||
}
|
||||
|
@ -78,5 +78,6 @@ tasks {
|
||||
opt.encoding("UTF-8")
|
||||
opt.keyWords()
|
||||
opt.addStringOption("-since", isRelease)
|
||||
opt.noTimestamp()
|
||||
}
|
||||
}
|
||||
|
@ -209,6 +209,11 @@ subprojects {
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
withType<AbstractArchiveTask>().configureEach {
|
||||
isPreserveFileTimestamps = false
|
||||
isReproducibleFileOrder = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user