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 PM
I also tried adding the dependency in the task's source set like this:
You're right, that example was just what I needed. Thank you.
o
Oleg Yukhnevich
01/12/2024, 6:57 PM
Glad it helps, still, keep in mind, that this may stop working in future Gradle versions, so it's more like a workaround right now, until Dokka will not support it natively