Skip to content

Instantly share code, notes, and snippets.

@whytarun
Last active October 3, 2023 06:53
Show Gist options
  • Save whytarun/15d8ce112fe9b7bbc2052a4cb9bbb225 to your computer and use it in GitHub Desktop.
Save whytarun/15d8ce112fe9b7bbc2052a4cb9bbb225 to your computer and use it in GitHub Desktop.
Employ ProGuard to obfuscate
buildTypes {
release {
buildConfigField "String", "BASE_URL", "\"https://mbl.test.com\""
minifyEnabled true
shrinkResources true
debuggable false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'),
'proguard-rules.pro'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment