Skip to content

Commit

Permalink
[#1933] ensure groovy-all is in the module path when generating javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed Jan 27, 2023
1 parent 8fd15d4 commit 6b8187b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gradle/modular-javadoc.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ def makeModulePath() {
result += it.absolutePath + System.getProperty('path.separator')
}
}
if (it.name == 'picocli-groovy') { // we need groovy-all to be in the module path
it.sourceSets.main.compileClasspath.each {
if (it.isFile() && !it.name.startsWith('picocli')) {
logger.info("${it}")
result += it.absolutePath + System.getProperty('path.separator')
}
}
}
}
}
result
Expand Down

0 comments on commit 6b8187b

Please sign in to comment.