gradle
8.4

# setPreserveFileTimestamps

open fun setPreserveFileTimestamps(preserveFileTimestamps: Boolean)(source)

Specifies whether file timestamps should be preserved in the archive.

If `false` this ensures that archive entries have the same time for builds between different machines, Java versions and operating systems.

#### Parameters

preserveFileTimestamps

`true` if file timestamps should be preserved for archive entries