Closed
Description
Hello,
just wanted to ask if you know a working configuration that either
- aggregates all files from the subprojects or
- generates a documentation including all subprojects at once
Tried something for the latter and came up with:
task dokka (type: org.jetbrains.dokka.gradle.DokkaTask, overwrite: true) {
moduleName = "$rootProject.name"
outputDirectory = "$buildDir/javadoc"
outputFormat = "html"
processConfigurations = []
sourceDirs = files (subprojects.collect {
p ->
def path = "modules/${p.name}/src/main/kotlin"
linkMapping {
dir = path
url = "https://....../blob/master/$path"
suffix = "#L"
}
return "$rootProject.rootDir/$path"
})
}
which works if the processConfigurations
property is empty, but wont show any cross-reference in the generated html files then.
Any idea how to configure the classpath of related subprojects?
Thank you very much!
Metadata
Metadata
Assignees
Labels
No labels