Narrow down suppressAllPomMetadataWarnings() in kotlin-test publication
This commit is contained in:
committed by
TeamCityServer
parent
cf104c8433
commit
18ed361f9b
@@ -348,6 +348,7 @@ publishing {
|
|||||||
optionalDependencies.forEach { dependenciesNode.remove(it) }
|
optionalDependencies.forEach { dependenciesNode.remove(it) }
|
||||||
}
|
}
|
||||||
configureKotlinPomAttributes(project, "Kotlin Test Multiplatform library")
|
configureKotlinPomAttributes(project, "Kotlin Test Multiplatform library")
|
||||||
|
suppressAllPomMetadataWarnings()
|
||||||
}
|
}
|
||||||
jvmTestFrameworks.forEach { framework ->
|
jvmTestFrameworks.forEach { framework ->
|
||||||
create(framework, MavenPublication::class) {
|
create(framework, MavenPublication::class) {
|
||||||
@@ -356,6 +357,7 @@ publishing {
|
|||||||
artifact(tasks.getByPath(":kotlin-test:kotlin-test-$framework:sourcesJar") as Jar)
|
artifact(tasks.getByPath(":kotlin-test:kotlin-test-$framework:sourcesJar") as Jar)
|
||||||
artifact(emptyJavadocJar)
|
artifact(emptyJavadocJar)
|
||||||
configureKotlinPomAttributes(project, "Kotlin Test Support for $framework")
|
configureKotlinPomAttributes(project, "Kotlin Test Support for $framework")
|
||||||
|
suppressAllPomMetadataWarnings()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
create("js", MavenPublication::class) {
|
create("js", MavenPublication::class) {
|
||||||
@@ -385,9 +387,6 @@ publishing {
|
|||||||
artifact(emptyJavadocJar)
|
artifact(emptyJavadocJar)
|
||||||
configureKotlinPomAttributes(project, "Kotlin Test Common")
|
configureKotlinPomAttributes(project, "Kotlin Test Common")
|
||||||
}
|
}
|
||||||
withType<MavenPublication> {
|
|
||||||
suppressAllPomMetadataWarnings()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user