cashapp / cashapp/molecule

Dokka 2.1 fails to generate

Open
#668 0 comments 0 reactions 0 assignees View on GitHub
PR welcome
Dominant language
Kotlin
Stars
2.2k
Forks
116
Avg merge
1h 36m
Merged PRs (30d)
8

Description

```
Caused by: org.jetbrains.dokka.DokkaException: Pre-generation validity check failed: Source sets 'android' and 'jvm' have the common source roots: /Users/runner/work/prerelease-testing/prerelease-testing/cashapp-molecule/molecule-runtime/src/javaMain/kotlin. Every Kotlin source file should belong to only one source set (module).
Also, please consider reporting your user case: https://github.com/Kotlin/dokka/issues/3701,Source sets 'js' and 'wasmJs' have the common source roots: /Users/runner/work/prerelease-testing/prerelease-testing/cashapp-molecule/molecule-runtime/src/browserMain/kotlin. Every Kotlin source file should belong to only one source set (module).
Also, please consider reporting your user case: https://github.com/Kotlin/dokka/issues/3701
at org.jetbrains.dokka.base.generation.SingleModuleGeneration.validityCheck(SingleModuleGeneration.kt:108)
at org.jetbrains.dokka.base.generation.SingleModuleGeneration.generate(SingleModuleGeneration.kt:29)
at org.jetbrains.dokka.DokkaGenerator$generate$1.invoke(DokkaGenerator.kt:36)
at org.jetbrains.dokka.DokkaGenerator$generate$1.invoke(DokkaGenerator.kt:29)
at org.jetbrains.dokka.DokkaGeneratorKt.timed(DokkaGenerator.kt:86)
at org.jetbrains.dokka.DokkaGeneratorKt.access$timed(DokkaGenerator.kt:1)
at org.jetbrains.dokka.DokkaGenerator.generate(DokkaGenerator.kt:29)
at org.jetbrains.dokka.DokkaBootstrapImpl.generate(DokkaBootstrapImpl.kt:67)
at java.base@24.0.2/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 4 more
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing Dokka generation for molecule-runtime and inspect the source-set configuration around src/javaMain/kotlin and src/browserMain/kotlin. The work is done when Dokka 2.1 completes without reporting overlapping android/jvm or js/wasmJs source roots.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.