sourceDateEpoch

com.typesafe.sbt.packager.sourceDateEpoch

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(file: File): Unit

If the SOURCE_DATE_EPOCH environment variable is defined, change the mtime of the file (and all children recursively) to the epoch value. This is useful when trying to create reproducible builds since some packaging tools (e.g. tar, gzip) embed last modified times in the package. If the environment variable is not defined, this does nothing.

If the SOURCE_DATE_EPOCH environment variable is defined, change the mtime of the file (and all children recursively) to the epoch value. This is useful when trying to create reproducible builds since some packaging tools (e.g. tar, gzip) embed last modified times in the package. If the environment variable is not defined, this does nothing.

Attributes