Skip to content

Instantly share code, notes, and snippets.

@azisuazusa
Created July 31, 2019 16:33
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 azisuazusa/ac8b0ae897f817c746d6dab663a407e6 to your computer and use it in GitHub Desktop.
Save azisuazusa/ac8b0ae897f817c746d6dab663a407e6 to your computer and use it in GitHub Desktop.
android {
signingConfigs {
debug {
storeFile file('../debug.keystore')
storePassword 'android'
keyAlias 'androiddebugkey'
keyPassword 'android'
}
release {
storeFile file(System.getenv("KEYSTORE") ?: "keystore-name.keystore")
storePassword System.getenv("KEYSTORE_PASSWORD")
keyAlias System.getenv("KEY_ALIAS")
keyPassword System.getenv("KEY_PASSWORD")
}
}
buildTypes {
release {
minifyEnabled true
signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug {
minifyEnabled false
signingConfig signingConfigs.debug
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment