mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-14 21:00:15 +00:00
add publishing
This commit is contained in:
24
publish.gradle
Normal file
24
publish.gradle
Normal 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"
|
Reference in New Issue
Block a user