# getReproducibleFileTimestamp

@Incubating
@Input
@Optional
abstract fun getReproducibleFileTimestamp(): Property<Long>

Specifies the reproducible file timestamp used for each entry in the archive in milliseconds from the epoch of 1970-01-01T00:00:00Z.

If not set, then each archive entry will use the value as determined by the `preserveFileTimestamps` property. If set, then each archive entry will use the reproducible file timestamp. If set, the `preserveFileTimestamps` property must be `false` (the default value), otherwise the task fails.

Each archive format has a minimum supported timestamp, and smaller values are raised to that minimum: 1980-02-01 00:00 for ZIP archives and 1970-01-02T00:00:00Z for TAR archives.

#### Return

the reproducible file timestamp used for each entry in the archive

#### Since

9.7.0