This commit is contained in:
parent
c688cf5270
commit
086ed3147d
@ -18,7 +18,7 @@
|
||||
public class CompiledAtASTTransformation implements ASTTransformation {
|
||||
|
||||
- private final static compileTime = new Date().toString()
|
||||
+ private final static compileTime = (System.getenv("SOURCE_DATE_EPOCH") != null ? new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))) : new Date()).toString()
|
||||
+ private final static compileTime = new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))).toString()
|
||||
|
||||
public void visit(ASTNode[] astNodes, SourceUnit sourceUnit) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user