title: How can I specify per flavor buildType sourceSets?
body: <p>I've got 2 flavors of an app that each have their own google maps (v1) key for debug and release (meaning 4 keys total). So I'd like to know if I can specify sourceSets based on the buildType and productFlavor. Essentially, I'm wondering how I can achieve something like this:</p>
  
  <pre><code>src
  ├── debug
  │   └── flavor1
  │       └── res
  │           └── values
  │               └── gmaps_key.xml
  ├── release
  │   └──flavor1
  │       └── res
  │           └── values
  │               └── gmaps_key.xml
  </code></pre>
  
  <p>Where gradle will use the <code>src/&lt;currentBuldType&gt;/&lt;currentProductFlavor&gt;/*</code> as part of its sourceSet. </p>
  
  <p>Essentially I want it so that if I run <code>gradle assembleFlavor1Debug</code> it will include everything under <code>src/main/*</code>, <code>src/flavor1/*</code>, and <code>src/debug/flavor1/*</code>. </p>
  
  <p>My build.gradle is super simple:</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
      }   
  
      dependencies {
          classpath 'com.android.tools.build:gradle:0.5.0'
      }   
  }
  
  apply plugin: 'android'
  
  android {
      compileSdkVersion 8
  
      productFlavors {
          flavor1 {
              packageName 'com.flavor1'
          }
          flavor2 {
              packageName 'com.flavor2'
          }
      }
  }
  </code></pre>
  
  <p>Any thoughts? Or maybe a better approach to this?</p>