Using Gradle and revealJS

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Using Gradle and revealJS

Kylja
Hi There,

I'm using gradle to output html, pdf and epub format, which is working really nice!.

Now I added revealJS and run into a problem. The plugins are configured as follows:

plugins {
    id 'org.asciidoctor.jvm.convert' version '3.0.0-alpha.3'  
    id 'org.asciidoctor.jvm.pdf' version '3.0.0-alpha.3'
    id 'org.asciidoctor.jvm.epub' version '3.0.0-alpha.3'
    id 'org.asciidoctor.jvm.revealjs' version '3.0.0-alpha.3'
}
As soon as the " id 'org.asciidoctor.jvm.revealjs' version '3.0.0-alpha.3' " is added I get the following message when building:

Exception in thread "main" org.jruby.exceptions.LoadError: (LoadError) no such file to load -- asciidoctor-revealjs
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:987)
at RUBY.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54)
at RUBY.<main>(<script>:1)

This was also reported in : https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues/388

But there was a commit on that and the issue is closed, so it's apparantly fixed.

I have not enough gradle and ruby experiense to find out what is wrong.

Some help to point me in the right direction would be great,

Thanks,

Hans