Build: Set preserveFileTimestamps & isReproducibleFileOrder properties
Otherwise some jars always have different key in the build cache
This commit is contained in:
@@ -376,6 +376,11 @@ allprojects {
|
|||||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType<AbstractArchiveTask> {
|
||||||
|
isPreserveFileTimestamps = false
|
||||||
|
isReproducibleFileOrder = true
|
||||||
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
register("listArchives") { listConfigurationContents("archives") }
|
register("listArchives") { listConfigurationContents("archives") }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user