Skip to content

Instantly share code, notes, and snippets.

@dzungvu
Last active December 28, 2021 02:19
Show Gist options
  • Save dzungvu/6c78b1dbf1fb3af7d6ccc5a1bf37979b to your computer and use it in GitHub Desktop.
Save dzungvu/6c78b1dbf1fb3af7d6ccc5a1bf37979b to your computer and use it in GitHub Desktop.
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment