molecule icon indicating copy to clipboard operation
molecule copied to clipboard

Dokka 2.1 fails to generate

Open JakeWharton opened this issue 3 months ago • 0 comments

 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 [email protected]/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	... 4 more

JakeWharton avatar Sep 05 '25 13:09 JakeWharton