Search code examples
javaintellij-ideajavadocgradle

Where are JavaDocs generated by Gradle if default is not set?


I am running the Gradle Javadoc task (through java plugin) but I cannot find the output.

In the gradle documnetation it states that the default destination directory is ${project.docsDir}/javadoc, however I cannot find where ${project.docsDir} is set. What is the output location when ${project.docsDir} is not set?

Update: I had built the project using the idea plugin which builds a project with the build directory excluded/hidden; it also excludes/hides the .gradle directory. This also explains where the complied classes where disappearing to.


Solution

  • build/docs/javadoc is the output directory.