2019-11-15 08:12:01 +00:00
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
|
2019-11-19 19:36:26 +00:00
|
|
|
task javadocsJar(type: Jar) {
|
|
|
|
classifier = 'javadoc'
|
2019-11-15 08:12:01 +00:00
|
|
|
}
|
|
|
|
|
2019-11-19 19:36:26 +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-15 08:12:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
2019-11-19 19:36:26 +00:00
|
|
|
publications.all {
|
|
|
|
artifact javadocsJar
|
|
|
|
|
|
|
|
pom.withXml {
|
|
|
|
asNode().children().last() + {
|
|
|
|
resolveStrategy = Closure.DELEGATE_FIRST
|
|
|
|
|
2020-01-09 11:26:40 +00:00
|
|
|
description "Core library for PostsSystem"
|
|
|
|
name "PostsSystem Core"
|
|
|
|
url "https://git.insanusmokrassar.com/PostsSystem/PostsSystemCore"
|
2019-11-15 08:12:01 +00:00
|
|
|
|
2019-11-19 19:36:26 +00:00
|
|
|
scm {
|
2020-01-09 11:26:40 +00:00
|
|
|
developerConnection "scm:git:[fetch=]https://git.insanusmokrassar.com/PostsSystem/PostsSystemCore.git[push=]https://git.insanusmokrassar.com/PostsSystem/PostsSystemCore.git"
|
|
|
|
url "https://git.insanusmokrassar.com/PostsSystem/PostsSystemCore.git"
|
2019-11-19 19:36:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
developers {
|
2020-01-09 11:26:40 +00:00
|
|
|
|
|
|
|
developer {
|
|
|
|
id "InsanusMokrassar"
|
|
|
|
name "Ovsiannikov Aleksei"
|
|
|
|
email "ovsyannikov.alexey95@gmail.com"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
developer {
|
|
|
|
id "mi-ast"
|
|
|
|
name "Michail Astafiev"
|
|
|
|
email "astaf65@gmail.com"
|
|
|
|
}
|
|
|
|
|
2019-11-19 19:36:26 +00:00
|
|
|
}
|
2019-11-15 08:12:01 +00:00
|
|
|
|
2019-11-19 19:36:26 +00:00
|
|
|
licenses {
|
2020-01-09 11:26:40 +00:00
|
|
|
|
|
|
|
license {
|
|
|
|
name "Apache Software License 2.0"
|
2020-01-29 16:15:21 +00:00
|
|
|
url "https://git.insanusmokrassar.com/PostsSystem/PostsSystemCore/src/master/LICENSE"
|
2020-01-09 11:26:40 +00:00
|
|
|
}
|
|
|
|
|
2019-11-15 08:12:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-01-09 11:26:40 +00:00
|
|
|
}
|