As I'm dogfooding the next release of <#CHJP9K00L|...
# multiplatform
l
As I'm dogfooding the next release of #splitties, I noticed the source jars are empty for some modules. It seems all modules that have common code have their sources properly put in the jar files, but all the modules that have only Android sources have no source files (only MANIFEST.MF). Did anyone experience something similar when publishing a #multiplatform library? I'm wondering what can be the cause of this issue. Maybe I found a bug?
b
have you tried dokka 0.10.x? supposedly has better mpp support
k
that would affect javadoc jars rather than source jars 😛
b
ah whoops. read that wrong
k
i have just been digging into publication, but I don't have any modules that don't include common source
l
That might be an incentive to kinda force me to get the project multiplatform harder 😅
I think I'll try with empty Kotlin files in commonMain first as a workaround.
k
yeah i've had to use a Dummy.kt in the past
but in the opposite way, as a target-specific source file
l
I don't think having target-specific source files is needed anymore, right?
k
in this specific case it is, because it's an umbrella project, and there is no other source - only exported dependencies
so without that file it doesn't build the target
l
Interesting, did you report that issue? For my m the issue I have, I think I'll, so I can reference it in the dummy files.
k
i did not report it