Skip to content

Commit 8d51cd5

Browse files
committed
Adjust Asciidoctor execution mode
1 parent e57179e commit 8d51cd5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

documentation/documentation.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -901,4 +901,11 @@ tasks.withType(AsciidoctorTask).configureEach {
901901
separateOutputDirs = false
902902
backends 'html5'
903903
}
904+
// See https://docs.asciidoctor.org/gradle-plugin/latest/common-task-configuration/#choosing-an-execution-mode-for-asciidoctorj
905+
executionMode = org.ysb33r.grolifant.api.core.jvm.ExecutionMode.JAVA_EXEC
906+
}
907+
908+
tasks.withType(AsciidoctorPdfTask).configureEach {
909+
// See https://docs.asciidoctor.org/gradle-plugin/latest/common-task-configuration/#choosing-an-execution-mode-for-asciidoctorj
910+
executionMode = org.ysb33r.grolifant.api.core.jvm.ExecutionMode.JAVA_EXEC
904911
}

0 commit comments

Comments
 (0)