Skip to content

Instantly share code, notes, and snippets.

@whytarun
Last active October 3, 2023 06:53
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 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