Skip to content

Commit 44d1c97

Browse files
h0tk3yqwwdfsad
authored andcommitted
Rename root MPP module and publish the JVM JAR within
* Rename the JVM module: empty suffix -> '-jvm'; * Rename the root MPP module: '-native' -> empty suffix; * Publish the JVM JAR and POM in the root MPP module, so that consumers who can't read Gradle module metadata, such as Maven or old Gradle versions, get the JVM resolution result from the root MPP module.
1 parent 1a38496 commit 44d1c97

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gradle/publish-bintray.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ publishing {
9191
}
9292
}
9393

94+
tasks.matching { it.name == "generatePomFileForKotlinMultiplatformPublication"}.configureEach {
95+
dependsOn(tasks["generatePomFileForJvmPublication"])
96+
}
97+
9498
task publishDevelopSnapshot() {
9599
def branch = System.getenv('currentBranch')
96100
if (branch == "develop") {

0 commit comments

Comments
 (0)