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

kotlin-multiplatform-example containing a multiplatform project #3986

Open
cke42 opened this issue Jan 7, 2025 · 0 comments
Open

kotlin-multiplatform-example containing a multiplatform project #3986

cke42 opened this issue Jan 7, 2025 · 0 comments
Labels
bug runner: gradle plugin v2 Issues fixed by Dokka Gradle Plugin v2 - see https://github.com/Kotlin/dokka/issues/3131

Comments

@cke42
Copy link

cke42 commented Jan 7, 2025

My project contains several kotlin.jvm projects as well as KMP projects. I tried to adapt the existing example projects

to generate one documentation for all projects. However, I always get several errors.

Please find attached my sources of the generated multimodule project. It is based on the multimodule-example. It contains the following projects:

  1. childProjectA --> from "multimodule-example"
  2. childProjectB --> from "multimodule-example"
  3. childProjectKmpC --> from "kotlin-multiplatform-example"
  4. childProjectComposeD --> generated using the KMP Wizard

Describe the bug
Error "KotlinAdapter failed to get KotlinProjectExtension in :childProjectA / childProjectB / childProjectKmpC
Error "Configuration cache state could not be cached: field provider of org.gradle.internal.serialize.codecs.core.ProviderBackedFileCollectionSpec bean found in field ..." and other.

Expected behaviour
No documentation generated.

To Reproduce
Please find the sample project attached.

Installation

  • Operating system: Linux Ubuntu 24.04.1 LTS
  • Build tool: Gradle v8.12
  • Dokka version: 2.0.0

Many thanks in advance for your support!
multimodule-example-2.tar.gz

@cke42 cke42 added the bug label Jan 7, 2025
@vmishenev vmishenev added runner: Gradle plugin An issue/PR related to Dokka's Gradle plugin runner: gradle plugin v2 Issues fixed by Dokka Gradle Plugin v2 - see https://github.com/Kotlin/dokka/issues/3131 and removed runner: Gradle plugin An issue/PR related to Dokka's Gradle plugin labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug runner: gradle plugin v2 Issues fixed by Dokka Gradle Plugin v2 - see https://github.com/Kotlin/dokka/issues/3131
Projects
None yet
Development

No branches or pull requests

2 participants