Created
October 8, 2015 01:58
-
-
Save oksep/106f67be34bc6243eb59 to your computer and use it in GitHub Desktop.
Custom signingConfigs from file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
signingConfigs { | |
debug { | |
// No debug config | |
} | |
release { | |
def filePrivateProperties = file("../releaseSigningConfig.properties") | |
if (filePrivateProperties.exists()) { | |
Properties propsPrivate = new Properties() | |
propsPrivate.load(new FileInputStream(filePrivateProperties)) | |
storeFile file(propsPrivate['key.store']) | |
keyAlias propsPrivate['key.alias'] | |
storePassword propsPrivate['key.store.password'] | |
keyPassword propsPrivate['key.alias.password'] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment