1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 00:03:48 +00:00

improve pom creating for maven publication

This commit is contained in:
InsanusMokrassar 2018-12-29 18:45:51 +08:00
parent 65ae71e552
commit c7b67f733f

View File

@ -43,10 +43,35 @@ publishing {
artifact javadocJar artifact javadocJar
pom.withXml { pom.withXml {
def root = asNode() asNode().children().last() + {
root.appendNode('description', 'It is one more project which wish to be useful and full Telegram Bots API bridge for Kotlin') resolveStrategy = Closure.DELEGATE_FIRST
root.appendNode('name', 'Telegram Bot API') name 'Telegram Bot API'
root.children().last() + pomConfig description 'It is one more project which wish to be useful and full Telegram Bots API bridge for Kotlin'
url "https://insanusmokrassar.github.io/${project.name}"
scm {
connection "scm:git:git://github.com/insanusmokrassar/${project.name}.git"
developerConnection "scm:git:[fetch=]https://github.com/insanusmokrassar/${project.name}.git[push=]ssh:git@github.com:insanusmokrassar/${project.name}.git"
url "https://github.com/insanusmokrassar/${project.name}"
}
developers {
developer {
id "InsanusMokrassar"
name "Ovsyannikov Alexey"
email "ovsyannikov.alexey95@gmail.com"
}
}
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE'
distribution 'repo'
}
}
}
} }
} }
} }