Repository: incubator-edgent Updated Branches: refs/heads/release1.0.0 078d7ccff -> 4fb519b56
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/release1.0.0 Commit: 0ce92c03bb754caa5ec8a260eb21272eec507e56 Parents: bff397f Author: Dale LaBossiere <dlab...@us.ibm.com> Authored: Tue Nov 15 12:15:29 2016 -0500 Committer: Dale LaBossiere <dlab...@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 © 2016 The Apache Software Foundation. All Rights Reserved - ${commithash}-${DSTAMP}-${TSTAMP}" + bottom "Copyright © ${COPYRIGHT_YEAR} The Apache Software Foundation. All Rights Reserved - ${commithash}-${DSTAMP}-${TSTAMP}" overview "edgent_overview.html" windowTitle "Edgent v${build_version}"