Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 Gradle Plugin: Failed to download package-list #4018

Open
jeffdgr8 opened this issue Feb 6, 2025 · 0 comments
Open

V2 Gradle Plugin: Failed to download package-list #4018

jeffdgr8 opened this issue Feb 6, 2025 · 0 comments
Labels

Comments

@jeffdgr8
Copy link

jeffdgr8 commented Feb 6, 2025

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.

@jeffdgr8 jeffdgr8 added the bug label Feb 6, 2025
@jeffdgr8 jeffdgr8 changed the title Failed to download package-list V2 Gradle Plugin: Failed to download package-list Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant