Generating project api in gradle

When you apply java plugin to a Gradle project, we can generate the project API documentation using javadoc task.
 
apply plugin: 'java'

After this execute below task.
 
javadoc

After the task is executed, API documentation report is created under build/docs/javadoc directory.

Web development and Automation testing

solutions delivered!!