HTML generation fails with a JAR file not being fo...
# dokka
n
HTML generation fails with a JAR file not being found:
Copy code
Execution failed for task ':dokkaHtml'.
> Could not resolve all files for configuration ':dokkaHtmlPlugin'.
   > Could not find org.jetbrains.kotlinx:kotlinx-html-jvm:0.7.2.
     Searched in the following locations:
       - <https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-html-jvm/0.7.2/kotlinx-html-jvm-0.7.2.pom>
       - file:/home/napperley/.m2/repository/org/jetbrains/kotlinx/kotlinx-html-jvm/0.7.2/kotlinx-html-jvm-0.7.2.pom
     Required by:
         project : > org.jetbrains.dokka:dokka-base:1.4.30
This issue didn't occur with a Kotlin Native library (uses the same Dokka version) I had published to Maven Central minutes earlier.
r
Try adding the
<https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven>
repository. Idk why it would succeed on maven, that's what I had to do.
n
Worked around the issue by updating Dokka to 1.4.32.