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
Czar
09/22/2020, 4:21 PM
Oh, seems it needs repositories to be defined for rootProject. it works if I add
repositories { jcenter() }
👍 1
s
Sebastian Sellmair [JB]
09/22/2020, 4:21 PM
can you try
Copy code
allprojects {
repositories {
jcenter()
}
}
In your root build.gradle.kts?
``````
✔️ 1
c
Czar
09/22/2020, 4:22 PM
I had jcenter in subprojects, but dokka apparently needs it in root as well. Thanks.