https://kotlinlang.org logo
#dokka
Title
# dokka
s

Sylvain Patenaude

03/09/2020, 8:52 PM
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

Casey Brooks

03/09/2020, 8:57 PM
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

Sylvain Patenaude

03/09/2020, 9:08 PM
I had also
mavenCentral
, but not
jcenter
. Will try it! How do I know that it's in
jcenter
though?
c

Casey Brooks

03/09/2020, 9:10 PM
That’s what’s listed in the Dokka README https://github.com/kotlin/Dokka#using-the-gradle-plugin
s

Sylvain Patenaude

03/09/2020, 9:14 PM
Ah ok, oversight from me. Thanks Casey!
👍 1