Skip to content

Commit c1126e8

Browse files
committed
Fix replace kotlinMultiplatform dependencies in pom
1 parent b1773fa commit c1126e8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gradle/publish.gradle

+5
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ publishing {
5656
def type = it.name
5757
def id = selectArtifactId(project, type, it.artifactId)
5858
it.artifactId = id
59+
60+
if (type == 'kotlinMultiplatform') {
61+
kotlin.rootSoftwareComponent$kotlin_gradle_plugin.publicationDelegate = publishing.publications.getByName("kotlinMultiplatform")
62+
}
63+
5964
if (id.endsWith('native')) {
6065
it.artifact stubJavadoc
6166
it.artifact stubDokka

0 commit comments

Comments
 (0)