You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2021/04/06 06:11:10 UTC
svn commit: r1888420 - /poi/trunk/build.gradle
Author: centic
Date: Tue Apr 6 06:11:10 2021
New Revision: 1888420
URL: http://svn.apache.org/viewvc?rev=1888420&view=rev
Log:
Adjust JavaDoc target to act similar as the one in the build.xml
Set memory and set "lint:non" on Java 8 to not be stricter than the Ant-build
Modified:
poi/trunk/build.gradle
Modified: poi/trunk/build.gradle
URL: http://svn.apache.org/viewvc/poi/trunk/build.gradle?rev=1888420&r1=1888419&r2=1888420&view=diff
==============================================================================
--- poi/trunk/build.gradle (original)
+++ poi/trunk/build.gradle Tue Apr 6 06:11:10 2021
@@ -211,6 +211,18 @@ subprojects {
jenkins.dependsOn rat
}
+// Make JavaDoc behave similar to Ant, i.e. be a bit more lenient
+// and define amount of memory
+// https://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html
+if (JavaVersion.current().isJava8Compatible()) {
+ allprojects {
+ tasks.withType(Javadoc) {
+ options.addStringOption('Xdoclint:none', '-quiet')
+ maxMemory="384M"
+ }
+ }
+}
+
rat {
// Input directory, defaults to '.'
inputDir.set(file("."))
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org