title: Product Flavor returned as empty always
body: <p>In my gradle(app) file, I am setting the Product flavor and build type as shown below</p>
  
  <pre><code>productFlavors {
  
      mock {
  
      }
  
      develop {
  
      }
  
      qa {
  
  
      }
      staging {
  
      }
      prod {
  
      }
  }
  
  buildTypes {
  
      debug {
          //signingConfig signingConfigs.release
      }
      release {
          minifyEnabled false
          //signingConfig signingConfigs.release
      }
  </code></pre>
  
  <p>In Android studio build variants, I get the following options based on the above:</p>
  
  <ul>
  <li>developDebug</li>
  <li>developRelease</li>
  <li>mockDebug</li>
  <li>mockRelease</li>
  <li>prodDebug</li>
  <li>proddRelease</li>
  <li>qaDebug</li>
  <li>qaRelease</li>
  <li>stagingDebug</li>
  <li>stagingRelease</li>
  </ul>
  
  <p>I have put a code in my app to print the current running Build variant as below. But the below code always print empty. Why is this so? How can I get the exact build variant inside my app? Any help is much appreciated.</p>
  
  <pre><code>System.out.println("Current build variant is"+BuildConfig.FLAVOR);
  </code></pre>