proguard
Minify android app but do not obfuscate it
minifyEnabled true is just a shortcut for: postprocessing { removeUnusedCode true obfuscate true optimizeCode true } So, if you want to minify without obfuscating, replace minifyEnabled true with: postprocessing { removeUnusedCode true obfuscate false // <– optimizeCode true } Additionally, the compiler will complain if you have shrinkResources true. The equivalent postprocessing field is removeUnusedResources … Read more