Open msgilligan opened 6 years ago
I just noticed @mojavelinux had suggested this back in 2014: https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues/95#issuecomment-52451549
I was thinking along the same lines when I saw the asciidoclet issues just some days ago. The solution is to either add an additional plugin on the 2.0 development branch OR, modify the asciidoclet project to also produce a Gradle plugin.
Let's just assume we add an additional plugin here:
BTW has Asciidoclet been updated to use the new docket API -> https://bugs.java.com/view_bug.do?bug_id=JDK-8177484
Has Asciidoclet been updated to use the new doclet API
Not yet, but we're now in the planning process for this work: https://github.com/asciidoctor/asciidoclet/issues/76
Let's explore this concept. We have options for 2.0.
It would be nice if there were a Gradle DSL for using Asciidoclet. Perhaps it could be bundled in this plugin or be a separate (child or sibling) plugin.
Currently the Gradle configuration for Asciidoclet is somewhat verbose and repeats many lines of boilerplate. It is also typical (or should be typical, especially if configuration were made easier) for projects using Asciidoctor for producing documents to also use Asciidoctor formatting in Java source and vice-versa.