Question: somewhat related to Gradle - I'm current...
# plugin-development
k
Question: somewhat related to Gradle - I'm currently configuring the Dokkatoo plugin, and want to add an external documentation link to the published Kotlin API reference.
Copy code
dokkatoo {
  dokkatooSourceSets.configureEach {
    externalDocumentationLinks.register("gradle") {
      url("<https://docs.gradle.org/current/kotlin-dsl>")
    }
  }
}
It doesn't seem to be working as the plugin is saying that it can't find the
package-list
file. Is there some documentation I am missing?
v
It needs the
package-list
file to work properly. If you for example use
<https://kotlinlang.org/api/kotlinx.serialization/>
it would automatically find and use
<https://kotlinlang.org/api/kotlinx.serialization/package-list>
. But
<https://docs.gradle.org/current/kotlin-dsl/package-list>
does not exist, so either that URL is wrong or you need to additionally configure the package list url in your build script that belongs to that documentation.
I think
<https://docs.gradle.org/current/kotlin-dsl/gradle>
is the URL you should use
Btw. with dokka 2.0.0-Beta released a month ago dokkatoo is merged into dokka, just in case you didn't know. 🙂