aboutsummaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorJan Matèrne <jan@materne.de>2019-07-12 08:44:46 +0200
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-08-22 23:29:17 +0200
commit38a48e8a853f436c9243503e6193806ec151c84c (patch)
tree29dbedb1331574573241b650f0df84de50ee7128 /build.xml
parent383c00fa85c50555dbaf4d7aff493ef99e7a8e1a (diff)
downloadlombok-38a48e8a853f436c9243503e6193806ec151c84c.tar.gz
lombok-38a48e8a853f436c9243503e6193806ec151c84c.tar.bz2
lombok-38a48e8a853f436c9243503e6193806ec151c84c.zip
Use dynamic year-value for JavaDoc-Copyright
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index db654651..f66191db 100644
--- a/build.xml
+++ b/build.xml
@@ -773,12 +773,15 @@ You can also create your own by writing a 'testenvironment.properties' file. The
</target>
<target name="utils-javadoc" depends="compile">
+ <tstamp>
+ <format property="javadoc.year" pattern="yyyy"/>
+ </tstamp>
<mkdir dir="build/utils-api" />
<javadoc sourcepath="src/utils" defaultexcludes="yes" destdir="build/utils-api" windowtitle="Lombok Utils">
<classpath refid="build.path" />
<link href="http://download.oracle.com/javase/6/docs/api/" />
<header><![CDATA[<a href='https://projectlombok.org/' target='_blank'>Lombok</a> - ]]>v${lombok.version}</header>
- <bottom><![CDATA[<i>Copyright &copy; 2011-2015 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 &copy; 2011-${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, so, we'll just get rid of it. -->