diff options
author | Jan Matèrne <jan@materne.de> | 2019-07-12 08:44:46 +0200 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-08-22 23:29:17 +0200 |
commit | 38a48e8a853f436c9243503e6193806ec151c84c (patch) | |
tree | 29dbedb1331574573241b650f0df84de50ee7128 /buildScripts | |
parent | 383c00fa85c50555dbaf4d7aff493ef99e7a8e1a (diff) | |
download | lombok-38a48e8a853f436c9243503e6193806ec151c84c.tar.gz lombok-38a48e8a853f436c9243503e6193806ec151c84c.tar.bz2 lombok-38a48e8a853f436c9243503e6193806ec151c84c.zip |
Use dynamic year-value for JavaDoc-Copyright
Diffstat (limited to 'buildScripts')
-rw-r--r-- | buildScripts/website.ant.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/buildScripts/website.ant.xml b/buildScripts/website.ant.xml index 62cb9a44..b14ee89e 100644 --- a/buildScripts/website.ant.xml +++ b/buildScripts/website.ant.xml @@ -285,6 +285,9 @@ such as applying the templates to produce the website, converting the changelog check the <a href="lombok/package-summary.html">lombok</a> package. If you're trying to extend lombok or write your own plugins, the other packages are what you're looking for.</body></html> ]]></echo> + <tstamp> + <format property="javadoc.year" pattern="yyyy"/> + </tstamp> <javadoc sourcepath="src/core" defaultexcludes="yes" destdir="build/api" windowtitle="Lombok" source="1.8" Overview="${javadoc.overview.html}"> <package name="lombok" /> <package name="lombok.experimental" /> @@ -292,7 +295,7 @@ such as applying the templates to produce the website, converting the changelog <classpath refid="build.path" /> <classpath location="build/lombok" /> <header><![CDATA[<a href='https://projectlombok.org/' target='_blank'>Lombok</a> - ]]>v${lombok.version}</header> - <bottom><![CDATA[<i>Copyright © 2009-2019 The Project Lombok Authors, licensed under the <a href='http://www.opensource.org/licenses/mit-license.php' target='_blank'>MIT licence</a>.]]></bottom> + <bottom><![CDATA[<i>Copyright © 2009-${javadoc.year} The Project Lombok Authors, licensed under the <a href='http://www.opensource.org/licenses/mit-license.php' target='_blank'>MIT licence</a>.]]></bottom> </javadoc> <!-- bugfix for boneheaded javadoc bug where ?is-external=true is inserted before an anchor ref, breaking the anchor ref. is-external=true doesn't actually do anything except mess with titles, so, we'll just get rid of it. --> |