1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-14 21:00:15 +00:00

add publishing

This commit is contained in:
2018-12-27 11:40:53 +08:00
parent 89eda29965
commit 0633db8889
4 changed files with 93 additions and 7 deletions

24
publish.gradle Normal file
View File

@@ -0,0 +1,24 @@
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"