2019-11-20 14:46:32 +00:00
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
|
|
|
|
task javadocsJar(type: Jar) {
|
|
|
|
classifier = 'javadoc'
|
|
|
|
}
|
|
|
|
|
|
|
|
afterEvaluate {
|
|
|
|
project.publishing.publications.all {
|
|
|
|
// rename artifacts
|
|
|
|
groupId "${project.group}"
|
|
|
|
if (it.name.contains('kotlinMultiplatform')) {
|
|
|
|
artifactId = "${project.name}"
|
|
|
|
} else {
|
|
|
|
artifactId = "${project.name}-$name"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications.all {
|
|
|
|
artifact javadocsJar
|
|
|
|
|
2020-11-11 17:38:56 +00:00
|
|
|
pom {
|
|
|
|
description = "Simple library for creating dependencies tree using Kotlin Serialization"
|
|
|
|
name = "Simple Dependency Injector"
|
|
|
|
url = "https://git.insanusmokrassar.com/InsanusMokrassar/SDI"
|
|
|
|
|
|
|
|
scm {
|
|
|
|
developerConnection = "scm:git:[fetch=]https://git.insanusmokrassar.com/InsanusMokrassar/SDI.git[push=]https://git.insanusmokrassar.com/InsanusMokrassar/SDI.git"
|
|
|
|
url = "https://git.insanusmokrassar.com/InsanusMokrassar/SDI.git"
|
|
|
|
}
|
2019-11-20 14:46:32 +00:00
|
|
|
|
2020-11-11 17:38:56 +00:00
|
|
|
developers {
|
|
|
|
|
|
|
|
developer {
|
|
|
|
id = "InsanusMokrassar"
|
|
|
|
name = "Ovsiannikov Aleksei"
|
|
|
|
email = "ovsyannikov.alexey95@gmail.com"
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2019-11-20 14:46:32 +00:00
|
|
|
|
2020-11-11 17:38:56 +00:00
|
|
|
licenses {
|
|
|
|
|
|
|
|
license {
|
|
|
|
name = "Apache Software License 2.0"
|
|
|
|
url = "https://git.insanusmokrassar.com/PostsSystem/SDI/src/master/LICENSE"
|
|
|
|
}
|
|
|
|
|
2019-11-20 14:46:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-11-22 04:11:31 +00:00
|
|
|
}
|