Minify android app but do not obfuscate it
<p>When I do not minify my app I reach the maximum method count and building the dex file fails. This can be avoided by enabling <code>minify</code> in <code>build.gradle</code>. The downside, however, is that now the code gets obfuscated. This is OK for the Release build but it is problematic for a Debug build.</p>

<p>Is there a way to tell gradle to minify a Debug build but not obfuscate it?</p>