title: How to provide different Android app icons for different gradle buildTypes?
body: <p>I have two build types set in my gradle file: <code>debug</code> and <code>release</code>. I'd like to be able to set a different app icon for the <code>debug</code> build type. Is there any way to this just through the build type, without getting into product flavors? build.gradle file is below.</p>
  
  <pre><code>apply plugin: 'android'
  
  //...
  
  android {
      compileSdkVersion 19
      buildToolsVersion "19.0.3"
  
      defaultConfig {
          minSdkVersion 14
          targetSdkVersion 19
          versionCode 30
          versionName "2.0"
      }
      buildTypes {
          debug {
              packageNameSuffix '.debug'
              versionNameSuffix '-SNAPSHOT'
          }
          release {
              runProguard false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
  }
  </code></pre>