mirror of https://github.com/apache/lucene.git
Render javadocs for all projects, even if they're not part of site.
This commit is contained in:
parent
f7fd21a0c6
commit
1a429c621e
|
@ -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)."
|
||||
|
|
Loading…
Reference in New Issue