Is there a workaround for getting the Dokka JavaDo...
# dokka
n
Is there a workaround for getting the Dokka JavaDoc plugin to work with a Kotlin Multiplatform project? Below is the error message:
Pre-generation validity check failed: Dokka Javadoc plugin currently does not support generating documentation for multiplatform project.
m
No, Javadoc is not meant to be used with multiplatform since the format is not designed to do so. Do you need javadoc for MPP or just want to generate docs for sake of maven central publication? If it is the case then you can use html format (like we do) and it will be fine
­čĹŹ 1
n
Need to generate docs for Maven Central publishing. One of the requirements for publishing to Maven Central is that JavaDoc JARs must be provided. Didn't realise that Maven Central accepted HTML as an alternative to JavaDoc.