Revert "[Gradle, JS] Fix pom.xml publication to OSS sonatype"
This reverts commit 332ce81408.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import plugins.configureDefaultPublishing
|
||||
import plugins.configureKotlinPomAttributes
|
||||
|
||||
plugins {
|
||||
`maven-publish`
|
||||
@@ -42,16 +41,15 @@ val emptyJavadocJar by tasks.creating(Jar::class) {
|
||||
archiveClassifier.set("javadoc")
|
||||
}
|
||||
|
||||
configureDefaultPublishing()
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("maven") {
|
||||
from(components["kotlin"])
|
||||
configureKotlinPomAttributes(project, "Kotlin DOM API compatibility library")
|
||||
}
|
||||
withType<MavenPublication> {
|
||||
artifact(emptyJavadocJar)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
configureDefaultPublishing()
|
||||
Reference in New Issue
Block a user