Fix main class name in distribution
MODIFY
asciidoctorj-distribution/build.gradle
asciidoctorj-distribution/build.gradle
@@ -48,7 +48,7 @@ startScripts {
unixStartScriptGenerator.template = resources.text.fromFile('src/main/resources/customUnixStartScript.txt')
applicationName = rootProject.name
- mainClassName = 'org.asciidoctor.cli.AsciidoctorInvoker'
+ mainClassName = 'org.asciidoctor.jruby.cli.AsciidoctorInvoker'
defaultJvmOpts = [
'-client', '-Xmn128m', '-Xms256m', '-Xmx256m',
'-Xverify:none', '-XX:+TieredCompilation', '-XX:TieredStopAtLevel=1', '-XX:+DisableExplicitGC', '-Djruby.compile.mode=OFF'

Fix main class name in distribution