How can I generate Groovydoc API documentation for the test Groovy source files? The Groovy plugin supports generating Groovydoc for the production Groovy source files, but not the test source files. I want to generate documentation for the methods used by the automated functional tests.
You need to declare another ‘Groovydoc’ task (or reconfigure the existing one). For details, see ‘Groovydoc’ in the Gradle Build Language Reference.