I want to use Asciidoctor to generate my documentation. Therefore I set up a gradle documentation project an in ‘build.gradle’ I am using the Asciidoctor Gradle plugin to translate my documentation to on of these backends:
- HTML (one big file) - HTML (many small files) - PDF (via Docbook) - epub (via Docbook)
Since I can set the asciidoctor-gradle-plugin options only for one backend type I need one ‘build.gradle’ for each backend format. The source (the asciidoctor files) are all the same for each backend.
Can anyone point me to the Gradle documentation or an example on how to do this in Gradle? I want to solve how to setup and link the project structure, not a technically issue with Asciidoctor or Docbook.
Kind regards, Christian