https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
s

SrSouza

09/16/2019, 1:27 PM
Hi guys, how I can create a publish artifact of a new source set created? I'm build a REST client for my backend and doing implementation in frontend(kotlin js), retrofit, ktor core(multiplatform). The ktor one I needed to create a new source set because the multiplatform plugin doesn't allow me to create a new common source set, but now I need to create an artifact for each target, but the Ktor one is not a target exactly.
Copy code
val ktorMain by creating {
    dependsOn(commonMain)
    dependencies {
        applyShared()
        implementation("io.ktor:ktor-client-core:$ktor_version")
    }
}
Someone can help me with that?