title: How to use multiple flavors in gradle with kotlin-dsl?
body: <p>It is in android gradle build scripts. I have multiple flavors in gradle:</p>
  
  <pre><code>flavorDimensions "brand", "appVariant"
  productFlavors {
      stage {
          dimension "appVariant"
      }
      prod {
          dimension "appVariant"
      }
      brand1 {
          dimension "brand"
      }
      brand2 {
          dimension "brand"
      }
  }
  </code></pre>
  
  <p>How can I rewrite that using kotlin-dsl?</p>