Skip to content

Commit b1b5f4b

Browse files
TWiStErRobmarcphilipp
authored andcommitted
Fix specific heap requirement of :documentation:asciidoctorPdf
Avoids JAVA_TOOL_OPTIONS from overriding -Xmx and therefore not letting the task complete.
1 parent ef1cbc2 commit b1b5f4b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

documentation/documentation.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,9 @@ tasks {
364364

365365
asciidoctorPdf {
366366
setExecutionMode(JAVA_EXEC) // Avoid classpath conflicts with other Gradle plugins (e.g. JReleaser)
367+
jvm {
368+
maxHeapSize = "512M"
369+
}
367370
sources {
368371
include("user-guide/index.adoc")
369372
}

0 commit comments

Comments
 (0)