File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import java.util.function.Function
6
6
7
7
import org.asciidoctor.gradle.jvm.AsciidoctorTask
8
8
import org.asciidoctor.gradle.jvm.pdf.AsciidoctorPdfTask
9
+ import org.ysb33r.grolifant.api.core.jvm.ExecutionMode
9
10
10
11
buildscript {
11
12
configurations. configureEach {
@@ -907,9 +908,16 @@ def buildDocsForPublishingTask = tasks.register( 'buildDocsForPublishing' ) { ta
907
908
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
908
909
909
910
tasks. withType(AsciidoctorTask ). configureEach {
910
- baseDirFollowsSourceDir()
911
- outputOptions {
912
- separateOutputDirs = false
913
- backends ' html5'
914
- }
911
+ baseDirFollowsSourceDir()
912
+ outputOptions {
913
+ separateOutputDirs = false
914
+ backends ' html5'
915
+ }
916
+ // See https://docs.asciidoctor.org/gradle-plugin/latest/common-task-configuration/#choosing-an-execution-mode-for-asciidoctorj
917
+ executionMode = ExecutionMode . JAVA_EXEC
918
+ }
919
+
920
+ tasks. withType(AsciidoctorPdfTask ). configureEach {
921
+ // See https://docs.asciidoctor.org/gradle-plugin/latest/common-task-configuration/#choosing-an-execution-mode-for-asciidoctorj
922
+ executionMode = ExecutionMode . JAVA_EXEC
915
923
}
You can’t perform that action at this time.
0 commit comments