Increase memory for task allJavaDoc to avoid OOM during building

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888793 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2021-04-15 14:25:47 +00:00
parent 0484610a9c
commit 3b1c82f6cb
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ task allJavaDoc(type: Javadoc) {
// for possible settings see https://docs.gradle.org/current/dsl/org.gradle.api.tasks.javadoc.Javadoc.html
classpath = files(subprojects.collect { it.sourceSets.main.compileClasspath })
destinationDir = file("${buildDir}/docs/javadoc")
maxMemory="384M"
maxMemory="768M"
// for possible options see https://docs.gradle.org/current/javadoc/org/gradle/external/javadoc/StandardJavadocDocletOptions.html
options.use = true