Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
app gradle file using environment variables.
android {
signingConfigs {
release {
storeFile = file(System.getenv('KEYSTORE_FILE_NAME'))
storePassword = System.getenv('KEYSTORE_PASSWORD')
keyAlias = System.getenv('KEYSTORE_ALIAS_NAME')
keyPassword = System.getenv('KEYSTORE_KEY_PASSWORD')
}
debug {
storeFile = file(System.getenv('KEYSTORE_FILE_NAME'))
storePassword = System.getenv('KEYSTORE_PASSWORD')
keyAlias = System.getenv('KEYSTORE_ALIAS_NAME')
keyPassword = System.getenv('KEYSTORE_KEY_PASSWORD')
}
}
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment