Hi, I've just tried to generate docs with the new ...
# dokka
c
Hi, I've just tried to generate docs with the new shiny dokka 1.4 and it even started doing stuff, but after 10 minutes or so it just died with the following:
Copy code
Execution failed for task ':dokkaHtmlMultiModule'.
> Could not resolve all files for configuration ':dokkaHtmlMultiModulePlugin'.
   > Cannot resolve external dependency org.jetbrains.dokka:dokka-base:1.4.10 because no repositories are defined.
     Required by:
         project :
I'm a bit at a loss, it was obviously running and generating module docs, but then it says it can't find itself? o_O
Oh, seems it needs repositories to be defined for rootProject. it works if I add
repositories { jcenter() }
👍 1
s
can you try
Copy code
allprojects {
    repositories {
        jcenter()
    }
}
In your root build.gradle.kts? ``````
✔️ 1
c
I had jcenter in subprojects, but dokka apparently needs it in root as well. Thanks.