Wesley Hartford
01/12/2024, 6:29 PMModule.md to a symbol in module B (such as a class or function), A must depend on B in order for the link to be resolved. Is there a specific dependency configuration that can be used when there is no other need for that dependency? I've got the link working by adding an otherwise unnecessary compileOnly dependency, but I'd rather not keep that.
(Sorry for dominating this channel lately, it's my first time trying to get everything just right in my API docs).Wesley Hartford
01/12/2024, 6:30 PMtasks.withType<AbstractDokkaLeafTask>().configureEach {
dokkaSourceSets.configureEach {
project(":module-B")
.tasks.withType<AbstractDokkaLeafTask>()
.flatMap { dokkaSourceSets }
.filter { !it.suppress.get() }
.forEach { dependsOn(it) }
}
}
But this resulted in a StackOverflowError in module A's dokkaHtmlPartial task.Oleg Yukhnevich
01/12/2024, 6:42 PMWesley Hartford
01/12/2024, 6:56 PMOleg Yukhnevich
01/12/2024, 6:57 PM