Skip to content

Instantly share code, notes, and snippets.

@dafinoer
Last active December 24, 2021 02:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dafinoer/c1738779243a10f726e745784a9188ec to your computer and use it in GitHub Desktop.
Save dafinoer/c1738779243a10f726e745784a9188ec to your computer and use it in GitHub Desktop.
if(keystoreProperties['storeFile']){
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
} else {
storeFile file('DevKeyStore.jks')
storePassword 'xxxxx'
keyAlias 'alias your app'
keyPassword 'xxxx'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment