[Gradle, JS] Fix pom.xml publication to OSS sonatype
This commit is contained in:
committed by
Space Team
parent
a99ea1d3ce
commit
24d4f186ba
@@ -1,4 +1,5 @@
|
|||||||
import plugins.configureDefaultPublishing
|
import plugins.configureDefaultPublishing
|
||||||
|
import plugins.configureKotlinPomAttributes
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
@@ -45,6 +46,7 @@ publishing {
|
|||||||
publications {
|
publications {
|
||||||
create<MavenPublication>("maven") {
|
create<MavenPublication>("maven") {
|
||||||
from(components["kotlin"])
|
from(components["kotlin"])
|
||||||
|
configureKotlinPomAttributes(project, "Kotlin DOM API compatibility library", packaging = "klib")
|
||||||
}
|
}
|
||||||
withType<MavenPublication> {
|
withType<MavenPublication> {
|
||||||
artifact(emptyJavadocJar)
|
artifact(emptyJavadocJar)
|
||||||
|
|||||||
Reference in New Issue
Block a user