1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-22 16:47:13 +00:00

rewrite to use built-in signing

This commit is contained in:
InsanusMokrassar 2018-12-28 09:39:59 +08:00
parent 0633db8889
commit 754cdd6b2e

View File

@ -1,8 +1,22 @@
apply plugin: 'com.jfrog.bintray'
ext {
projectBintrayDir = "${project.group}/".replace(".", "/") + "${project.name}/${project.version}"
}
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
publications = ["maven"]
filesSpec {
into "$projectBintrayDir"
from("build/libs") {
include "**/*.asc"
}
from("build/publications/maven") {
rename 'pom-default.xml(.*)', "${project.name}-${project.version}.pom\$1"
}
}
pkg {
repo = 'StandardRepository'
name = "${project.name}"
@ -12,12 +26,7 @@ bintray {
name = "${project.version}"
released = new Date()
vcsTag = name
gpg {
sign = true
passphrase = System.getenv('SIGN_PASSPHRASE')
}
}
publications = ["maven"]
}
}