Narrow down suppressAllPomMetadataWarnings() in kotlin-test publication

This commit is contained in:
Nikolay Krasko
2021-11-11 15:27:36 +03:00
committed by TeamCityServer
parent cf104c8433
commit 18ed361f9b
+2 -3
View File
@@ -348,6 +348,7 @@ publishing {
optionalDependencies.forEach { dependenciesNode.remove(it) }
}
configureKotlinPomAttributes(project, "Kotlin Test Multiplatform library")
suppressAllPomMetadataWarnings()
}
jvmTestFrameworks.forEach { framework ->
create(framework, MavenPublication::class) {
@@ -356,6 +357,7 @@ publishing {
artifact(tasks.getByPath(":kotlin-test:kotlin-test-$framework:sourcesJar") as Jar)
artifact(emptyJavadocJar)
configureKotlinPomAttributes(project, "Kotlin Test Support for $framework")
suppressAllPomMetadataWarnings()
}
}
create("js", MavenPublication::class) {
@@ -385,9 +387,6 @@ publishing {
artifact(emptyJavadocJar)
configureKotlinPomAttributes(project, "Kotlin Test Common")
}
withType<MavenPublication> {
suppressAllPomMetadataWarnings()
}
}
}