Thread
#multiplatform
    Big Chungus

    Big Chungus

    2 years ago
    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

    Robert Jaros

    2 years ago
    Why do you want source set published? Aren't targets published and not source sets?
    Big Chungus

    Big Chungus

    2 years ago
    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