mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +00:00
rewrite to use built-in signing
This commit is contained in:
parent
0633db8889
commit
754cdd6b2e
@ -1,8 +1,22 @@
|
|||||||
apply plugin: 'com.jfrog.bintray'
|
apply plugin: 'com.jfrog.bintray'
|
||||||
|
|
||||||
|
ext {
|
||||||
|
projectBintrayDir = "${project.group}/".replace(".", "/") + "${project.name}/${project.version}"
|
||||||
|
}
|
||||||
|
|
||||||
bintray {
|
bintray {
|
||||||
user = System.getenv('BINTRAY_USER')
|
user = System.getenv('BINTRAY_USER')
|
||||||
key = System.getenv('BINTRAY_KEY')
|
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 {
|
pkg {
|
||||||
repo = 'StandardRepository'
|
repo = 'StandardRepository'
|
||||||
name = "${project.name}"
|
name = "${project.name}"
|
||||||
@ -12,12 +26,7 @@ bintray {
|
|||||||
name = "${project.version}"
|
name = "${project.version}"
|
||||||
released = new Date()
|
released = new Date()
|
||||||
vcsTag = name
|
vcsTag = name
|
||||||
gpg {
|
|
||||||
sign = true
|
|
||||||
passphrase = System.getenv('SIGN_PASSPHRASE')
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
publications = ["maven"]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user