title: Could not find property 'outputFile' on com.android.build.gradle.internal.api.ApplicationVariantImpl
body: <p>After updating to AS 1.0 RC 1 and plugin 0.14.4 I am having problems with the renaming part of my build.gradle:</p>
  
  <pre><code>applicationVariants.all { variant -&gt;
              def file = variant.outputFile
              variant.outputFile = new File(file.parent, file.name.replace(".apk", "-" + defaultConfig.versionName + ".apk"))
          }
  </code></pre>
  
  <p>throws now:</p>
  
  <pre><code>Error:(78, 0) Could not find property 'outputFile' on com.android.build.gradle.internal.api.ApplicationVariantImpl_Decorated@67e7625f.
  </code></pre>
  
  <p>and also I cannot jump to the class ApplicationVariantImpl to look how the property might have  been renamed. 
  Anyone knows workarounds for this?</p>