# multiplatform

Big Chungus

07/26/2020, 10:56 AM
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

Robert Jaros

07/26/2020, 11:56 AM
Why do you want source set published? Aren't targets published and not source sets?

Big Chungus

07/26/2020, 12:13 PM
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
on lib project