Sfoglia il codice sorgente

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

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888420 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_5_1_0
Dominik Stadler 3 anni fa
parent
commit
72ce9751b1
1 ha cambiato i file con 12 aggiunte e 0 eliminazioni
  1. 12
    0
      build.gradle

+ 12
- 0
build.gradle Vedi File

@@ -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("."))

Loading…
Annulla
Salva