You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by dl...@apache.org on 2016/12/14 19:24:21 UTC

[31/50] [abbrv] incubator-edgent git commit: automatically set javadoc copyright year

automatically set javadoc copyright year

Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/0ce92c03
Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/0ce92c03
Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/0ce92c03

Branch: refs/heads/master
Commit: 0ce92c03bb754caa5ec8a260eb21272eec507e56
Parents: bff397f
Author: Dale LaBossiere <dl...@us.ibm.com>
Authored: Tue Nov 15 12:15:29 2016 -0500
Committer: Dale LaBossiere <dl...@us.ibm.com>
Committed: Tue Nov 15 12:15:29 2016 -0500

----------------------------------------------------------------------
 build.gradle   | 1 +
 javadoc.gradle | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/0ce92c03/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index bf26704..8706993 100644
--- a/build.gradle
+++ b/build.gradle
@@ -56,6 +56,7 @@ ext {
   now = new Date()
   DSTAMP = String.format('%tY%<tm%<td', now)
   TSTAMP = String.format('%tH%<tM', now)
+  COPYRIGHT_YEAR = String.format('%tY', now)
   
   snapshotId = "-SNAPSHOT-${DSTAMP}-${TSTAMP}"
   if (System.properties['edgent.snapshotId'] != null) {

http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/0ce92c03/javadoc.gradle
----------------------------------------------------------------------
diff --git a/javadoc.gradle b/javadoc.gradle
index 3882522..85bfff3 100644
--- a/javadoc.gradle
+++ b/javadoc.gradle
@@ -27,7 +27,7 @@ task aggregateJavadoc(type: Javadoc) {
     use = true
     docTitle "Apache Edgent (incubating) v${build_version}"
     footer '<a href="http://edgent.incubator.apache.org">Apache Edgent (incubating)</a>'
-    bottom "Copyright &#169; 2016 The Apache Software Foundation. All Rights Reserved - ${commithash}-${DSTAMP}-${TSTAMP}"
+    bottom "Copyright &#169; ${COPYRIGHT_YEAR} The Apache Software Foundation. All Rights Reserved - ${commithash}-${DSTAMP}-${TSTAMP}"
     overview "edgent_overview.html"
     windowTitle "Edgent v${build_version}"