mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +00:00
improve pom creating for maven publication
This commit is contained in:
parent
65ae71e552
commit
c7b67f733f
@ -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'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user