diff --git a/build.gradle b/build.gradle index 7964853f..8664aab3 100644 --- a/build.gradle +++ b/build.gradle @@ -186,7 +186,7 @@ allprojects { tasks.register("aggregateJavaDoc") { allprojects.forEach { dependsOn "${it.path}:javadoc" } - JavaDocUtils.aggregateJavaDoc("html", rootProject.name, rootProject.version, TEST_MODULE) + JavaDocUtils.aggregateJavaDoc("html/docs", rootProject.name, rootProject.version, TEST_MODULE) } testCodeCoverageReport { diff --git a/buildSrc/src/main/groovy/JavaDocUtils.groovy b/buildSrc/src/main/groovy/JavaDocUtils.groovy index fe382b71..18526ca0 100644 --- a/buildSrc/src/main/groovy/JavaDocUtils.groovy +++ b/buildSrc/src/main/groovy/JavaDocUtils.groovy @@ -9,7 +9,7 @@ import java.nio.file.StandardCopyOption @CompileDynamic class JavaDocUtils { private static final String DOCS_DIR = 'javadoc' - private static final String[] IGNORE_DIRS = [ 'main', 'java', 'groovy', 'src', 'buildSrc', 'resources' ] + private static final String[] IGNORE_DIRS = [ 'main', 'java', 'groovy', 'html', 'src', 'buildSrc', 'resources' ] private static final String[] RESOURCES = [ 'index.html', 'javadoc-stylesheet.css' ] private static final String MODULE_PLACEHOLDER = '%modules%' private static final String MODULE_FORMAT_FILE = 'module-format.html' @@ -30,7 +30,7 @@ class JavaDocUtils { if (!outputDir.mkdirs()) throw new IllegalStateException("Could not create directory ${output}") aggregateJavaDocRec(current, outputDir, ignoreDirs) -// createModulesPage(name, version, outputDir) + createModulesPage(name, version, outputDir) } /**