Merge pull request #196 from Sonicadvance1/gradle-buildoptions

Pass our signing information to gradle by argument.
This commit is contained in:
Matthew Parlane 2014-03-23 01:36:14 +13:00
commit b57949131d

View file

@ -61,12 +61,11 @@ android {
signingConfigs { signingConfigs {
release { release {
if (System.getenv("KEYSTORE") != null) if (project.hasProperty('keystore')) {
{ storeFile file(project.property('keystore'))
storeFile file(System.getenv("KEYSTORE")) storePassword project.property('storepass')
storePassword System.getenv("KEYSTORE_PASSWORD") keyAlias project.property('keyalias')
keyAlias System.getenv("KEY_ALIAS") keyPassword project.property('keypass')
keyPassword System.getenv("KEY_PASSWORD")
} }
} }
} }