diff options
-rw-r--r-- | build.xml | 5 | ||||
-rw-r--r-- | buildScripts/website.ant.xml | 5 |
2 files changed, 8 insertions, 2 deletions
@@ -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 © 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 © 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. --> 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. --> |