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 {
release {
if (System.getenv("KEYSTORE") != null)
{
storeFile file(System.getenv("KEYSTORE"))
storePassword System.getenv("KEYSTORE_PASSWORD")
keyAlias System.getenv("KEY_ALIAS")
keyPassword System.getenv("KEY_PASSWORD")
if (project.hasProperty('keystore')) {
storeFile file(project.property('keystore'))
storePassword project.property('storepass')
keyAlias project.property('keyalias')
keyPassword project.property('keypass')
}
}
}