Skip to content

Instantly share code, notes, and snippets.

@giovanileitevitor
Created January 9, 2023 20:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save giovanileitevitor/ffee0177eec8c76e00f23f6ed54b9aa3 to your computer and use it in GitHub Desktop.
Save giovanileitevitor/ffee0177eec8c76e00f23f6ed54b9aa3 to your computer and use it in GitHub Desktop.
Setting a manifestPlaceHolders
buildTypes {
release {
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
testCoverageEnabled false
manifestPlaceholders = [
appIcon: "@mipmap/ic_release"
]
}
debug {
applicationIdSuffix ".debug"
debuggable true
minifyEnabled false
shrinkResources false
testCoverageEnabled true
manifestPlaceholders = [
appIcon: "@mipmap/ic_debug"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment