-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task asciidoctor fails when having more than one backend #324
Comments
maybe related with #282 I tried with
and it works Also I tried to include the epub dependency as suggested in issue 282 using
but error persists |
@mariogarcia I'll have a look to see what the cause of the Besides that: It is recommended to use the asciidoctor {
asciidoctorj {
epubVersion = '1.5.0-alpha.8.1'
}
} Do not use the @jagedn Please note that #282 is related to 1.5.x and not applicable in this case. |
@mariogarcia You accidentally found a bug that is not really related to your usage. If there are more than two backends specified and there are no additional GEMs, then it causes the I'll fix that and then close this issue and the correct usage have been addressed in https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues?q=is%3Aopen+is%3Aissue+label%3A2.0.x#issuecomment-479826956. |
When running in JAVA_EXEC mode with three or more backends, but no additional GEMs specified, the system failed with `ArrayIndexOutOfBoundsException`. The reason was that `::` was passed down to AsciidoctorJ as the GEM path. The solution is not to add empty GEM paths to the GEM search path.
When running in JAVA_EXEC mode with three or more backends, but no additional GEMs specified, the system failed with `ArrayIndexOutOfBoundsException`. The reason was that `::` was passed down to AsciidoctorJ as the GEM path. The solution is not to add empty GEM paths to the GEM search path.
When running in JAVA_EXEC mode with three or more backends, but no additional GEMs specified, the system failed with `ArrayIndexOutOfBoundsException`. The reason was that `::` was passed down to AsciidoctorJ as the GEM path. The solution is not to add empty GEM paths to the GEM search path.
When running in JAVA_EXEC mode with three or more backends, but no additional GEMs specified, the system failed with `ArrayIndexOutOfBoundsException`. The reason was that `::` was passed down to AsciidoctorJ as the GEM path. The solution is not to add empty GEM paths to the GEM search path.
Do not add empty GEM paths for multiple backends (#324)
Understood @ysb33r 👍 |
Description
When configuring multiple backends
./gradlew ascii
fails even though executingasciiEpub
,asciiPdf
separately works.Screenshot
Source code
The
build.gradle
looks like this:Anyway you can find the whole project here: https://github.com/mariogarcia/asciidoctor-gradle-samples/tree/master/multiple-backends
Versions
The text was updated successfully, but these errors were encountered: