Created
June 15, 2023 20:33
-
-
Save tugceaktepe/08dc6e3e0ee02c0230f36a9ee99d053c to your computer and use it in GitHub Desktop.
buildTypes for network security config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildTypes { | |
getByName("release") { | |
isMinifyEnabled = false | |
proguardFiles( | |
getDefaultProguardFile("proguard-android-optimize.txt"), | |
"proguard-rules.pro" | |
) | |
resValue("string", "clear_text_config","false") | |
} | |
getByName("debug") { | |
isMinifyEnabled = false | |
resValue("string", "clear_text_config","true") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment