I'm using Dokka to generate doc. It works locally,...
# dokka
s
I'm using Dokka to generate doc. It works locally, but it fails when the project runs on the server (DevOps). Here is the error I get (see below). Someone has a clue? Do I need to specifically refer to 'dokka-fatjar' in my build.gradle or is
Copy code
plugins {
    ...
    id 'org.jetbrains.dokka' version '0.10.1'
    ...
}
enough?
c
It doesn’t look like it’s checking the
jcenter
repo, is it declared in your build.gradle file? It does look like it’s checking the
mavenLocal
repo, so you probably have it cached in your local .m2, which is why its working locally but not on the server
s
I had also
mavenCentral
, but not
jcenter
. Will try it! How do I know that it's in
jcenter
though?
c
That’s what’s listed in the Dokka README https://github.com/kotlin/Dokka#using-the-gradle-plugin
s
Ah ok, oversight from me. Thanks Casey!
👍 1