add opportunity to use properties of project in user and key of bintray publication

This commit is contained in:
InsanusMokrassar committed 2018-12-28 10:40:24 +08:00
1 parent 754cdd6b2e
commit ff32a98f40
1 file changed
+2 -2
+2 -2
View File
@@ -5,8 +5,8 @@ ext {
}
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
user = project.hasProperty('BINTRAY_USER') ? project.property('BINTRAY_USER') : System.getenv('BINTRAY_USER')
key = project.hasProperty('BINTRAY_KEY') ? project.property('BINTRAY_KEY') : System.getenv('BINTRAY_KEY')
publications = ["maven"]
filesSpec {
into "$projectBintrayDir"