I tried that and got:
Mac-Pro:xqdoc2pdf lcahlander$ vi build.gradle
Mac-Pro:xqdoc2pdf lcahlander$ gradle myPdfDocument
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :myPdfDocument FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':myPdfDocument'.
> Duplicate option name: 'format'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at
https://help.gradle.orgBUILD FAILED in 24s
1 actionable task: 1 executed
Mac-Pro:xqdoc2pdf lcahlander$
> On Feb 14, 2019, at 11:39 AM, Norman Walsh <
ndw@nwalsh.com> wrote:
>
> task myPdfDocument(type: DocBookTask) {
> // And tell the pipeline to validate with the schema
> option("schema", "https://docbook.org/xml/5.1/rng/docbook.rng <https://docbook.org/xml/5.1/rng/docbook.rng>")
> input("source", "document.xml")
>
> output("result", "output.fo")
> option("format", "print")
> }