Hi! I'm trying to publish a multiplatform library ...
# build-tools
c
Hi! I'm trying to publish a multiplatform library to MavenCentral (via Gradle and
maven-publish
). The Kotlin documentation states that it's necessary to define an
artifact
block "in the publication's scope". What does that mean exactly? Do you know of an example/open source project that does that?
m
I don't think you need an
artifact
block
. The multiplatform plugin does most of the things by default. You mostly have to configure the pom
Most of the code there is to handle android and non-multiplatform modules. The multiplatform should be wayy simpler
Ah, reading that code again, we do have an
artifact
for javadoc so I take that back