Thank you for your response. I believe there is currently no way to run Dokka while while Gradle runs with Java 10+. I’m asking about the best workaround.
I believe you are suggesting I still use the built-in withJavadocJar()
task. To do that I’d have to rename my custom task and… declare a dependency or something? At what phase?