Kareem Radwan
publishToMavenLocal
jvm
js
ios
kotlin { jvm() js() mingwX64() linuxX64() val publicationsFromMainHost = listOf(jvm(), js()).map { it.name } + "kotlinMultiplatform" publishing { publications { matching { it.name in publicationsFromMainHost }.all { val targetPublication = this@all tasks.withType<AbstractPublishToMaven>() .matching { it.publication == targetPublication } .configureEach { onlyIf { findProperty("isMainHost") == "true" } } } } } }
A modern programming language that makes developers happier.