2019-05-21 10:14:09 +00:00
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
|
2019-11-19 19:36:10 +00:00
|
|
|
task javadocsJar(type: Jar) {
|
|
|
|
classifier = 'javadoc'
|
2019-05-21 10:14:09 +00:00
|
|
|
}
|
|
|
|
|
2019-11-19 19:36:10 +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-05-21 10:14:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
2019-11-19 19:36:10 +00:00
|
|
|
publications.all {
|
|
|
|
artifact javadocsJar
|
|
|
|
|
2020-08-29 05:48:54 +00:00
|
|
|
pom {
|
|
|
|
description = "It is an analog of crontab util for Kotlin Coroutines"
|
|
|
|
name = "Krontab"
|
|
|
|
url = "https://git.insanusmokrassar.com/InsanusMokrassar/krontab"
|
|
|
|
|
|
|
|
scm {
|
|
|
|
developerConnection = "scm:git:[fetch=]https://git.insanusmokrassar.com:8322/InsanusMokrassar/krontab.git[push=]https://git.insanusmokrassar.com:8322/InsanusMokrassar/krontab.git"
|
|
|
|
url = "https://git.insanusmokrassar.com:8322/InsanusMokrassar/krontab.git"
|
|
|
|
}
|
2019-11-19 19:36:10 +00:00
|
|
|
|
2020-08-29 05:48:54 +00:00
|
|
|
developers {
|
|
|
|
|
|
|
|
developer {
|
|
|
|
id = "InsanusMokrassar"
|
|
|
|
name = "Ovsiannikov Aleksei"
|
|
|
|
email = "ovsyannikov.alexey95@gmail.com"
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2019-05-21 10:14:09 +00:00
|
|
|
|
2020-08-29 05:48:54 +00:00
|
|
|
licenses {
|
|
|
|
|
|
|
|
license {
|
|
|
|
name = "Apache Software License 2.0"
|
|
|
|
url = "https://git.insanusmokrassar.com/InsanusMokrassar/krontab/src/master/LICENSE"
|
|
|
|
}
|
|
|
|
|
2019-05-21 10:14:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-01-08 08:28:57 +00:00
|
|
|
}
|