Skip to content

Commit

Permalink
Trying to fix Javadoc deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
fulminazzo committed Apr 12, 2024
1 parent d325b36 commit 4e0d861
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions buildSrc/src/main/groovy/JavaDocUtils.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,14 @@ class JavaDocUtils {
if (!current.directory) return

def files = current.listFiles()
if (files == null) return
if (files == null)
throw new IllegalArgumentException("Could not list files of ${current.path}")

files.findAll { f -> f.directory }
.findAll { f -> !IGNORE_DIRS.any { d -> d == f.name } }
.findAll { f -> !ignoreDirs.any { d -> d == f.name } }
.each { f ->
project.logger.info("Checking file ${f.path}")
throw new RuntimeException("Starting with file ${f.path}")
if (f.name == DOCS_DIR) {
project.logger.info("Validated file ${f.path}")
def dest = getDestinationFromModule(output, f)
Expand Down

0 comments on commit 4e0d861

Please sign in to comment.