title: collectMultidex task looking in wrong place for manifest.xml
body: <p>When trying to enable multi-dexing for an application over 65K, following the guidelines specified by the android developer page <a href="https://developer.android.com/tools/building/multidex.html" rel="nofollow">here</a></p>
  
  <p>While in my application build.gradle I specify: </p>
  
  <pre><code>android.applicationVariants.all{
      variant -&gt; variant.outputs.each {
          output -&gt;
              output.processResources.manifestFile = file('AndroidManifest.xml')
              output.processManifest.enabled=false
      }
  }
  </code></pre>
  
  <p>Upon running build I receive this error, </p>
  
  <blockquote>
    <p>Error: A problem was found with the configuration of task ':myapp:collectDebugMultiDexComponents'.</p>
    
    <p>File 'C:\Android Projects\myappapp\build\intermediates\manifests\full\debug\AndroidManifest.xml' specified for property 'manifest' does not exist.</p>
  </blockquote>
  
  <p>Open to any suggestions or advice to properly direct multi dex task to actual AndroidManifest.xml path. When removing the library that causes the application to cross the 64k limit and removing multidexing the application builds fine. </p>