1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-06-01 07:25:23 +00:00
tgbotapi/publish.gradle

25 lines
636 B
Groovy
Raw Normal View History

2018-12-27 03:40:53 +00:00
apply plugin: 'com.jfrog.bintray'
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
pkg {
repo = 'StandardRepository'
name = "${project.name}"
vcsUrl = "https://github.com/InsanusMokrassar/${project.name}"
licenses = ['Apache-2.0']
version {
name = "${project.version}"
released = new Date()
vcsTag = name
gpg {
sign = true
passphrase = System.getenv('SIGN_PASSPHRASE')
}
}
publications = ["maven"]
}
}
apply from: "maven.publish.gradle"