On Tue, Oct 8, 2013 at 2:12 PM, Luke Daley <luke.da...@gradleware.com>wrote: > > On 08/10/2013, at 11:50 AM, Guillaume Laforge <glafo...@gmail.com> wrote: > > Hi all, > > > > On the Groovy project, I'm using the gradle-asciidoctor-plugin that uses > Asciidoctor for our new documentation. > > > > Andrés released a new version of the plugin with a newer version of > Asciidoctor. > > But I'm getting some weird error, as shown in my build logs here: > > http://rifers.org/paste/show/2350 > > > > Look at the stacktrace at the bottom. > > > > org.gradle.api.UncheckedIOException: Could not add entry ':asciidoctor' > to cache taskArtifacts.bin > (/Users/glaforge/Projects/groovy/groovy-git/.gradle/1.7/taskArtifacts/taskArtifacts.bin). > > > > and > > > > Caused by: java.io.NotSerializableException: org.jruby.Ruby > > > > Asciidoctor is using JRuby. > > > > But I'm not sure what Gradle is trying to serialize here. > > > > Any hint? > > It will be either an input of output property of a task. >
Andrés's just made some changes to the asciidoctor gradle plugin for its output: https://github.com/asciidoctor/asciidoctor-gradle-plugin/blob/master/src/main/groovy/org/asciidoctor/gradle/AsciidoctorTask.groovy It seems the map in @Input got some JRuby based objects inserted into down the chain, which makes Gradle unhappy as those JRuby objects are not serializable... Let's see if those changes made by Andrés help. -- Guillaume Laforge Groovy Project Manager Pivotal, Inc. Blog: http://glaforge.appspot.com/ Social: @glaforge <http://twitter.com/glaforge> / Google+<https://plus.google.com/u/0/114130972232398734985/posts>