Skip to content

Dokka 2.1 fails to generate #668

@JakeWharton

Description

@JakeWharton
 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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions