title: how can we force locale in android app depending on buildType in gradle
body: <p>I want to use only english language in release build and multiple languages in debug build. I am able to achieve this using ProductFlavour but not with buildType. </p>
  
  <pre><code>productFlavors {
          english {
              resConfigs "en" 
          }
          french {
              resConfigs "en", "fr" 
          }
      }
  </code></pre>
  
  <p>I'm using resConfig.. but it cant be used under buildTypes.
  If i try using it under buildTypes, build fails and I'm getting below error:</p>
  
  <p>Gradle DSL does not found: resConfigs()</p>
  
  <p>Any help will be really appreciated</p>
  
  <p>one more question in the same line. I have scenario, where I need to use default values only when QA_BUILD is false.
  My build.gradle looks like this:</p>
  
  <p>debug { 
      buildConfigField "boolean", "QA_BUILD", "false" 
  } 
  integration { 
      buildConfigField "boolean", "QA_BUILD", "false" 
  } 
  release { 
      buildConfigField "boolean", "QA_BUILD", "true" 
  }  </p>