title: gradle - set different versionName for different build type
body: <p>I'd like to use different <code>versionCode</code> and <code>versionName</code> for debug and release builds but I'm not sure how to achieve this. I don't want to just add suffix, I want to generate versionCode completely different between two build types. Specifically, it'd best if I can set versionCode to <code>getDebugVersionCode()</code> and <code>getReleaseVersionCode()</code> for debug and release builds, respectively. How can I do this? Thanks.</p>