Render javadocs for all projects, even if they're not part of site.

This commit is contained in:
Dawid Weiss 2021-12-17 17:57:38 +01:00
parent f7fd21a0c6
commit 1a429c621e
1 changed files with 5 additions and 1 deletions

View File

@ -58,7 +58,11 @@ allprojects {
}
if (project.path == ':lucene:luke' || project.path.endsWith(".tests")) {
// Do nothing, these projects are not part of the public API.
// These projects are not part of the public API so we don't render their javadocs
// as part of the site's creation. A side-effect of this is that javadocs would not
// be linted for these projects. To avoid this, we connect the regular javadoc task
// to check so that everything is validated.
project.tasks.getByName("check").dependsOn renderJavadoc
} else {
task renderSiteJavadoc(type: RenderJavadocTask) {
description "Generates Javadoc API documentation for the site (relative links)."