Open dhakehurst opened 3 years ago
Bit of an issue. When I run the gradle assciidoc task, all my images have their content set to 0 bytes !!!
all images are .png files. included in adoc file like: image:images/xxx/YYY.png
image:images/xxx/YYY.png
here is the relevant part of the build.gradle.kts file.
plugins { id("org.asciidoctor.jvm.convert") version "3.2.0" } asciidoctorj { modules { diagram.use() diagram.version("2.0.5") } } tasks { "asciidoctor"(org.asciidoctor.gradle.jvm.AsciidoctorTask::class) { sourceDir(file("documentation")) setBaseDir(file("documentation")) sources(delegateClosureOf<PatternSet> { include("UserGuide.asciidoc") }) setOutputDir(file("documentation")) attributes( mapOf( "data-uri" to "true", "toc2" to "", "theme" to "flask", "nofooter" to "" ) ) } }
Bit of an issue. When I run the gradle assciidoc task, all my images have their content set to 0 bytes !!!
all images are .png files. included in adoc file like:
image:images/xxx/YYY.png
here is the relevant part of the build.gradle.kts file.