2019-11-28 10:19:36 +00:00
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
|
2020-04-10 07:12:55 +00:00
|
|
|
task javadocsJar(type: Jar) {
|
|
|
|
classifier = 'javadoc'
|
2019-11-28 10:19:36 +00:00
|
|
|
}
|
|
|
|
|
2020-04-10 07:12:55 +00:00
|
|
|
afterEvaluate {
|
|
|
|
project.publishing.publications.all {
|
|
|
|
// rename artifacts
|
|
|
|
groupId "${project.group}"
|
|
|
|
if (it.name.contains('kotlinMultiplatform')) {
|
|
|
|
artifactId = "${project.name}"
|
|
|
|
} else {
|
|
|
|
artifactId = "${project.name}-$name"
|
|
|
|
}
|
|
|
|
}
|
2019-11-28 10:19:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
2020-04-10 07:12:55 +00:00
|
|
|
publications.all {
|
|
|
|
artifact javadocsJar
|
2020-01-31 12:14:01 +00:00
|
|
|
|
2020-04-10 07:12:55 +00:00
|
|
|
pom.withXml {
|
|
|
|
asNode().children().last() + {
|
|
|
|
resolveStrategy = Closure.DELEGATE_FIRST
|
2020-01-31 12:14:01 +00:00
|
|
|
|
2020-04-10 07:12:55 +00:00
|
|
|
description "Exposed realisation for PostsSystem Core"
|
|
|
|
name "PostsSystem Core Exposed realization"
|
|
|
|
url "https://git.insanusmokrassar.com/PostsSystem/Core/"
|
2020-01-31 12:14:01 +00:00
|
|
|
|
2020-04-10 07:12:55 +00:00
|
|
|
scm {
|
|
|
|
developerConnection "scm:git:[fetch=]https://git.insanusmokrassar.com/PostsSystem/Core/.git[push=]https://git.insanusmokrassar.com/PostsSystem/Core/.git"
|
|
|
|
url "https://git.insanusmokrassar.com/PostsSystem/Core/.git"
|
|
|
|
}
|
2019-11-28 10:19:36 +00:00
|
|
|
|
2020-04-10 07:12:55 +00:00
|
|
|
developers {
|
|
|
|
|
2019-11-28 10:19:36 +00:00
|
|
|
developer {
|
|
|
|
id "InsanusMokrassar"
|
|
|
|
name "Ovsiannikov Aleksei"
|
|
|
|
email "ovsyannikov.alexey95@gmail.com"
|
|
|
|
}
|
2020-04-10 07:12:55 +00:00
|
|
|
|
|
|
|
}
|
2019-11-28 10:19:36 +00:00
|
|
|
|
2020-04-10 07:12:55 +00:00
|
|
|
licenses {
|
|
|
|
|
2019-11-28 10:19:36 +00:00
|
|
|
license {
|
|
|
|
name "Apache Software License 2.0"
|
|
|
|
url "https://git.insanusmokrassar.com/PostsSystem/Core/src/master/LICENSE"
|
|
|
|
}
|
2020-04-10 07:12:55 +00:00
|
|
|
|
2019-11-28 10:19:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|