mirror of https://github.com/FabricMC/yarn.git
Enable reproducible builds
This commit is contained in:
parent
b35ad99fd6
commit
770020e6fb
|
@ -275,6 +275,11 @@ tasks.withType(JavaCompile).configureEach {
|
||||||
it.options.release = 17
|
it.options.release = 17
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(AbstractArchiveTask).configureEach {
|
||||||
|
it.preserveFileTimestamps = false
|
||||||
|
it.reproducibleFileOrder = true
|
||||||
|
}
|
||||||
|
|
||||||
spotless {
|
spotless {
|
||||||
lineEndings = com.diffplug.spotless.LineEnding.UNIX
|
lineEndings = com.diffplug.spotless.LineEnding.UNIX
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue