1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2025-01-11 15:53:53 +01:00

updated build script

This commit is contained in:
Mariotaku Lee 2017-07-16 20:22:07 +08:00
parent 4812e1bfe4
commit c19ede55f7
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535

View File

@ -116,10 +116,13 @@ install {
}
bintray {
def properties = new Properties()
properties.load(rootProject.file('private/bintray.properties').newDataInputStream())
user = properties.getProperty('user')
key = properties.getProperty('key')
def propsFile = rootProject.file('private/bintray.properties')
if (propsFile.exists()) {
def properties = new Properties()
properties.load(propsFile.newDataInputStream())
user = properties.getProperty('user')
key = properties.getProperty('key')
}
pkg {
name = archivesBaseName