How does one setup custom sourceSet publishing? I ...
# multiplatform
b
How does one setup custom sourceSet publishing? I have js and wasm sourceSets that both depend on browser sourceSet which depends on common sourceSet (also used by jvm). I want all 4 source sets published, but maven-publish ignores browser sourceSet with default settings
r
Why do you want source set published? Aren't targets published and not source sets?
b
There's a use-case for publishing browser sourceSet so that the users could use it on their common sourceSet for js + wasm projects
And i couldn't find a way to create another metadata target like we can for jvm or js
NVM, turns out all I neeed was
kotlin.mpp.enableGranularSourceSetsMetadata=true
on lib project