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
|
||||
}
|
||||
|
||||
tasks.withType<AbstractArchiveTask> {
|
||||
isPreserveFileTimestamps = false
|
||||
isReproducibleFileOrder = true
|
||||
}
|
||||
|
||||
tasks {
|
||||
register("listArchives") { listConfigurationContents("archives") }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user