Enables reproducible builds by disabling timestamps and enabling reproducible build order in archive outputs. (#607)
Co-authored-by: infra <infra@sterile.solutions>
This commit is contained in:
parent
b9b4d846d3
commit
c5c3720f80
@ -35,6 +35,12 @@ configurations {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
tasks.withType<AbstractArchiveTask>().configureEach {
|
||||||
|
isPreserveFileTimestamps = false
|
||||||
|
isReproducibleFileOrder = true
|
||||||
|
}
|
||||||
|
|
||||||
tasks.withType<JavaCompile> {
|
tasks.withType<JavaCompile> {
|
||||||
options.encoding = "UTF-8"
|
options.encoding = "UTF-8"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user