asciidoctor / asciidoctor-gradle-plugin

A Gradle plugin that uses Asciidoctor via JRuby to process AsciiDoc source files within the project.
https://asciidoctor.github.io/asciidoctor-gradle-plugin/
Apache License 2.0
283 stars 120 forks source link

Fix missing groovydocs #720

Closed abelsromero closed 4 months ago

abelsromero commented 4 months ago

Fix missing groovydocs not being collected during docs publication.

TLDR; only some groovydoc tasks run, but do during configuration phase of the included build (from docs sub gradle). Feels like an un-intended side effect. To fix it, I reformatted things (it's opinionated) to help me understand how it works, but the actual fix is adding all required groovydoc tasks as a dependency for combineDocs.

abelsromero commented 4 months ago

Working fine in my fork, all "active"* correctly generating and pointing to their API / groovydocs.

* I have maintained the current modules that are activated in the main build. It seems some like "slides" seem to be disabled temporarily but without much detail, I don't date doing heavier changes.