forked from pool/groovy18
This commit is contained in:
parent
830a82848f
commit
c688cf5270
@ -12,66 +12,63 @@
|
||||
from("$projectDir/src/main/META-INF/groovy-release-info.properties") {
|
||||
filter {String line ->
|
||||
--- groovy-core-GROOVY_1_8_9/src/examples/transforms/global/CompiledAtASTTransformation.groovy 2023-09-14 17:55:59.532896167 +0200
|
||||
+++ groovy-core-GROOVY_1_8_9/src/examples/transforms/global/CompiledAtASTTransformation.groovy 2023-09-14 21:03:58.849056055 +0200
|
||||
+++ groovy-core-GROOVY_1_8_9/src/examples/transforms/global/CompiledAtASTTransformation.groovy 2023-09-14 21:31:24.853487358 +0200
|
||||
@@ -16,7 +16,7 @@
|
||||
@GroovyASTTransformation(phase=CompilePhase.CONVERSION)
|
||||
public class CompiledAtASTTransformation implements ASTTransformation {
|
||||
|
||||
- private final static compileTime = new Date().toString()
|
||||
+ private final static compileTime = System.getenv("SOURCE_DATE_EPOCH") != null ? new new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))).toString() : 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()
|
||||
|
||||
public void visit(ASTNode[] astNodes, SourceUnit sourceUnit) {
|
||||
|
||||
--- groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/tools/groovydoc/gstringTemplates/classLevel/classDocName.html 2023-09-14 17:55:59.569563087 +0200
|
||||
+++ groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/tools/groovydoc/gstringTemplates/classLevel/classDocName.html 2023-09-14 21:03:58.849056055 +0200
|
||||
@@ -62,9 +62,9 @@
|
||||
+++ groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/tools/groovydoc/gstringTemplates/classLevel/classDocName.html 2023-09-14 21:15:34.220475678 +0200
|
||||
@@ -62,9 +62,8 @@
|
||||
%>
|
||||
<html>
|
||||
<head>
|
||||
-<!-- Generated by groovydoc (${GroovySystem.version}) on ${new Date()} -->
|
||||
+<!-- Generated by groovydoc (${GroovySystem.version}) on ${System.getenv("SOURCE_DATE_EPOCH") != null ? new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))) : new Date()} -->
|
||||
+<!-- Generated by groovydoc (${GroovySystem.version}) -->
|
||||
<title>${title}</title>
|
||||
-<meta name="date" content="${new Date().format('yyyy-MM-dd')}">
|
||||
+<meta name="date" content="${System.getenv("SOURCE_DATE_EPOCH") != null ? new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))).format('yyyy-MM-dd') : new Date().format('yyyy-MM-dd')}">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=${props.charset}">
|
||||
<link href="${classDoc.relativeRootPath}groovy.ico" type="image/x-icon" rel="shortcut icon">
|
||||
<link href="${classDoc.relativeRootPath}groovy.ico" type="image/x-icon" rel="icon">
|
||||
--- groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/tools/groovydoc/gstringTemplates/topLevel/deprecated-list.html 2023-09-14 17:55:59.569563087 +0200
|
||||
+++ groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/tools/groovydoc/gstringTemplates/topLevel/deprecated-list.html 2023-09-14 21:03:58.849056055 +0200
|
||||
@@ -38,9 +38,9 @@
|
||||
+++ groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/tools/groovydoc/gstringTemplates/topLevel/deprecated-list.html 2023-09-14 21:14:47.296829350 +0200
|
||||
@@ -38,9 +38,8 @@
|
||||
%>
|
||||
<html><head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=${props.charset}">
|
||||
-<!-- Generated by groovydoc (${GroovySystem.version}) on <% new Date() %> -->
|
||||
+<!-- Generated by groovydoc (${GroovySystem.version}) on <% System.getenv("SOURCE_DATE_EPOCH") != null ? new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))) : new Date() %> -->
|
||||
+<!-- Generated by groovydoc (${GroovySystem.version}) -->
|
||||
<title>${title}</title>
|
||||
-<meta name="date" content="${new Date().format('yyyy-MM-dd')}">
|
||||
+<meta name="date" content="${System.getenv("SOURCE_DATE_EPOCH") != null ? new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))).format('yyyy-MM-dd') : new Date().format('yyyy-MM-dd')}">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<link href="groovy.ico" type="image/x-icon" rel="shortcut icon">
|
||||
<link href="groovy.ico" type="image/x-icon" rel="icon">
|
||||
--- groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/tools/groovydoc/gstringTemplates/topLevel/help-doc.html 2023-09-14 17:55:59.569563087 +0200
|
||||
+++ groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/tools/groovydoc/gstringTemplates/topLevel/help-doc.html 2023-09-14 21:03:58.849056055 +0200
|
||||
+++ groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/tools/groovydoc/gstringTemplates/topLevel/help-doc.html 2023-09-14 21:14:32.966733748 +0200
|
||||
@@ -3,7 +3,7 @@
|
||||
<% def title = subtitle + (props.windowTitle ? " (${props.windowTitle})" : "") %>
|
||||
<html><head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=${props.charset}">
|
||||
-<!-- Generated by groovydoc (${GroovySystem.version}) on <% new Date() %> -->
|
||||
+<!-- Generated by groovydoc (${GroovySystem.version}) on <% System.getenv("SOURCE_DATE_EPOCH") != null ? new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))) : new Date() %> -->
|
||||
+<!-- Generated by groovydoc (${GroovySystem.version}) -->
|
||||
<title>${title}</title>
|
||||
<link href="groovy.ico" type="image/x-icon" rel="shortcut icon">
|
||||
<link href="groovy.ico" type="image/x-icon" rel="icon">
|
||||
--- groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/tools/groovydoc/gstringTemplates/topLevel/index-all.html 2023-09-14 17:55:59.569563087 +0200
|
||||
+++ groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/tools/groovydoc/gstringTemplates/topLevel/index-all.html 2023-09-14 21:03:58.849056055 +0200
|
||||
@@ -16,9 +16,9 @@
|
||||
+++ groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/tools/groovydoc/gstringTemplates/topLevel/index-all.html 2023-09-14 21:15:03.270269230 +0200
|
||||
@@ -16,9 +16,8 @@
|
||||
%>
|
||||
<html><head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=${props.charset}">
|
||||
-<!-- Generated by groovydoc (${GroovySystem.version}) on <% new Date() %> -->
|
||||
+<!-- Generated by groovydoc (${GroovySystem.version}) on <% System.getenv("SOURCE_DATE_EPOCH") != null ? new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))) : new Date() %> -->
|
||||
+<!-- Generated by groovydoc (${GroovySystem.version}) -->
|
||||
<title>${title}</title>
|
||||
-<meta name="date" content="${new Date().format('yyyy-MM-dd')}">
|
||||
+<meta name="date" content="${System.getenv("SOURCE_DATE_EPOCH") != null ? new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))).format('yyyy-MM-dd') : new Date().format('yyyy-MM-dd')}">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<link href="groovy.ico" type="image/x-icon" rel="shortcut icon">
|
||||
<link href="groovy.ico" type="image/x-icon" rel="icon">
|
||||
|
Loading…
x
Reference in New Issue
Block a user