Description
Describe the bug
Using the Dokka v2 Gradle plugin, I see this error when generating API docs:
> Task :couchbase-lite-ee-paging:dokkaGeneratePublicationHtml
Failed to download package-list from https://kotlinlang.org/api/kotlinx-datetime/kotlinx-datetime/package-list, this might suggest that remote resource is not available, module is empty or dokka output got corrupted
Even though the package-list is available at that URL: https://kotlinlang.org/api/kotlinx-datetime/kotlinx-datetime/package-list
Expected behaviour
kotlinx-datetime is known to have its package-list in a non-standard location, which is why I specify the correct URL in my library. This worked correctly with the Dokka v1 Gradle plugin.
It's not clear if this is a false-positive error or if it's somehow not using the correct URL, even though it's logging the URL provided.
To Reproduce
Run the dokkaGenerate
task on my Kotbase library and observe the logs.
Dokka configuration
See dokka-convention.kts and build.gradle.kts
Installation
- Operating system: macOS
- Build tool: Gradle v8.11.1
- Dokka version: 2.0.0
Additional context
The generated API docs appear to correctly link to the kotlinx-datetime docs, e.g. Instant
from getDate
, despite the error.