Gradle plugin 1.5.3 "build failed -- could not add entry to cache -- cannot be serialized"

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

Gradle plugin 1.5.3 "build failed -- could not add entry to cache -- cannot be serialized"

swalton00
Using the current plugin (1.5.3), with a gradle that has only asciidoctor, I'm getting the following failure:

:asciidoctor

FAILURE: Build failed with an exception.

* What went wrong:
Could not add entry ':asciidoctor' to cache taskArtifacts.bin (C:\My Data\Projec
ts\AsciiDoc_Projects\Spec_Model\.gradle\2.1\taskArtifacts\taskArtifacts.bin).
> Unable to store task input properties. Property 'attributes' with value '{sour
cedir=source set 'main', source-highlighter=coderay, imagesdir=./images, toc=lef
t, icons=font, setanchors=true, idprefix=, idseparator=-, docinfo1=true}' cannot
 be serialized.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

BUILD FAILED

Total time: 11.122 secs

Java is 1.8. My build has asciidoctor-pdf on the class path.  Is there something that I've gotten wrong in the build.gradle, is this the bug bug that has cropped up again, or just me?

Scott Walton