Groovydoc for Test Groovy Source Files

(Ryan) #1

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.

(Peter Niederwieser) #2

You need to declare another ‘Groovydoc’ task (or reconfigure the existing one). For details, see ‘Groovydoc’ in the Gradle Build Language Reference.