mirror of https://github.com/sbt/sbt.git
Target develop branch of io, support SOURCE_DATE_EPOCH
This commit is contained in:
parent
ceb28a0a41
commit
4353098454
|
|
@ -1409,7 +1409,12 @@ object Defaults extends BuildCommon {
|
|||
Def.task {
|
||||
val config = packageConfiguration.value
|
||||
val s = streams.value
|
||||
Package(config, s.cacheStoreFactory, s.log, Some(0))
|
||||
Package(
|
||||
config,
|
||||
s.cacheStoreFactory,
|
||||
s.log,
|
||||
sys.env.get("SOURCE_DATE_EPOCH").map(_.toLong).orElse(Some(0L))
|
||||
)
|
||||
config.jar
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue