title: Could not find method release() for arguments
body: <p>I've just updated my project to the Android Gradle plugin <a href="https://plus.google.com/+AndroidDevelopers/posts/SymhwQYyUUi" rel="noreferrer">0.9.0</a> and I'm getting the following error trying to run my project:</p>
  
  <pre><code>FAILURE: Build failed with an exception.
  
  * Where:                    
  Build file 'C:\...\facebookSDK\build.gradle' line: 12
  
  * What went wrong:          
  A problem occurred evaluating project ':facebookSDK'.
  &gt; Could not find method release() for arguments [build_3ug2bdgu6mi6jljp3krac916n3$_run_closure1_closure4@e1bf3ff] on project ':facebookSDK'.
  
  * Try:                      
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  
  BUILD FAILED
  </code></pre>
  
  <p>I only get this error with one of my projects. If I switch back to 0.8.+ it works fine.</p>
  
  <p>This is the gradle.build file of the facebookSDK module.</p>
  
  <pre><code>apply plugin: 'android-library'
  
  android {
      compileSdkVersion 19
      buildToolsVersion "19.0.3"
  
      defaultConfig {
          minSdkVersion 8
          targetSdkVersion 8
      }
  
      release {
          runProguard false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
      }
  
      lintOptions {
          abortOnError false
      }
  }
  
  dependencies {
      compile 'com.android.support:support-v4:+'
  }
  </code></pre>