mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-02 14:49:47 +00:00
add opportunity to use properties of project in user and key of bintray publication
This commit is contained in:
@@ -5,8 +5,8 @@ ext {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bintray {
|
bintray {
|
||||||
user = System.getenv('BINTRAY_USER')
|
user = project.hasProperty('BINTRAY_USER') ? project.property('BINTRAY_USER') : System.getenv('BINTRAY_USER')
|
||||||
key = System.getenv('BINTRAY_KEY')
|
key = project.hasProperty('BINTRAY_KEY') ? project.property('BINTRAY_KEY') : System.getenv('BINTRAY_KEY')
|
||||||
publications = ["maven"]
|
publications = ["maven"]
|
||||||
filesSpec {
|
filesSpec {
|
||||||
into "$projectBintrayDir"
|
into "$projectBintrayDir"
|
||||||
|
Reference in New Issue
Block a user