Last active
June 25, 2019 13:15
-
-
Save IvanShafran/15ae108e2bc8f0bea2e87bb4c7a0be0a to your computer and use it in GitHub Desktop.
This file contains 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
def propertiesFilename = "production.properties" | |
if (!project.file(propertiesFilename).exists()) { | |
propertiesFilename = "contributors.properties" | |
} | |
def signingProperties = new Properties() | |
signingProperties.load(new FileInputStream(file(propertiesFilename))) | |
android { | |
signingConfigs { | |
release { | |
keyAlias signingProperties.releaseSignKeyAlias | |
keyPassword signingProperties.releaseSignKeyPassword | |
storeFile file(signingProperties.releaseStoreFilePath) | |
storePassword signingProperties.releaseStorePassword | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment