update publishing scripts

This commit is contained in:
InsanusMokrassar committed 2021-02-05 16:08:28 +06:00
1 parent 0b93b472a3
commit 6a625d7b9f
5 files changed
-80

No files matched your search

-16
View File
@@ -4,22 +4,6 @@ apply plugin: 'signing'
task javadocsJar(type: Jar) {
classifier = 'javadoc'
}
task sourceJar (type : Jar) {
classifier = 'sources'
}
afterEvaluate {
project.publishing.publications.all {
// rename artifacts
groupId "${project.group}"
if (it.name.contains('kotlinMultiplatform')) {
artifactId = "${project.name}"
artifact sourceJar
} else {
artifactId = "${project.name}-$name"
}
}
}
publishing {
publications.all {