|
|
@ -11,10 +11,14 @@ fun Project.configureMavenPublication( |
|
|
|
extensions.configure<PublishingExtension> { |
|
|
|
extensions.configure<PublishingExtension> { |
|
|
|
publications { |
|
|
|
publications { |
|
|
|
all { |
|
|
|
all { |
|
|
|
this as MavenPublication |
|
|
|
val publication = this as MavenPublication |
|
|
|
|
|
|
|
|
|
|
|
this.groupId = groupId |
|
|
|
//work around to fix an android publication artifact ID |
|
|
|
mppArtifactId = artifactId |
|
|
|
//https://youtrack.jetbrains.com/issue/KT-53520 |
|
|
|
|
|
|
|
afterEvaluate { |
|
|
|
|
|
|
|
publication.groupId = groupId |
|
|
|
|
|
|
|
publication.mppArtifactId = artifactId |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
pom { |
|
|
|
pom { |
|
|
|
this.name.set(name) |
|
|
|
this.name.set(name) |
|
|
|