title: Android gradle: How do I get the merged resources directory in the build.gradle script?
body: <p>The code in question looks like</p>
  <pre><code>applicationVariants.all{ variant -&gt;
     if(variant.buildType.name == 'test'){
        println 'path res: ' + //need directory path here
     }
  }
  </code></pre>