Skip to content

Commit 9f5b043

Browse files
committed
Fixed: Update AsciidoctorTask configuration to use the new API
1 parent b25f603 commit 9f5b043

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -499,11 +499,11 @@ task createTenant(group: ofbizServer, description: 'Create a new tenant in your
499499

500500
// ========== Documentation tasks ==========
501501
tasks.withType(AsciidoctorTask) { task ->
502-
inProcess = JAVA_EXEC
503-
forkOptions {
502+
executionMode = JAVA_EXEC
503+
jvm {
504504
jvmArgs("--add-opens","java.base/sun.nio.ch=ALL-UNNAMED","--add-opens","java.base/java.io=ALL-UNNAMED")
505505
}
506-
outputOptions {
506+
// outputOptions {
507507
// // I hate we have to do this - but JRuby (asciidoctorj-pdf) and Windows don't mix well
508508
// if (System.properties['os.name'].toLowerCase().contains('windows')) {
509509
// backends = ['html5']
@@ -515,8 +515,8 @@ tasks.withType(AsciidoctorTask) { task ->
515515
// at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
516516
// at RUBY.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85)
517517
// at RUBY.<main>(<script>:1)
518-
backends = ['html5']
519-
}
518+
// backends = ['html5']
519+
// }
520520
attributes \
521521
'doctype': 'book',
522522
'revnumber': getCurrentGitBranch(),

0 commit comments

Comments
 (0)