title: After Android Studio update: Gradle DSL method not found: 'runProguard()'
body: <p>I've just updated my Android Studio and now my project won't build anymore. I get following error:</p>
  
  <pre class="lang-none prettyprint-override"><code>Error:(16, 0) Gradle DSL method not found: 'runProguard()'
  Possible causes:&lt;ul&gt;&lt;li&gt;The project 'App' may be using a version of Gradle that does not contain the  method.
  &lt;a href="openGradleSettings"&gt;Gradle settings&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The build file may be missing a Gradle plugin.
  &lt;a href="apply.gradle.plugin"&gt;Apply Gradle plugin&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>I didn't change anything, everything worked properly before the update. Here's my <code>build.gradle</code> file:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 21
      buildToolsVersion "20.0.0"
  
      defaultConfig {
          applicationId "com.ochs.pipette"
          minSdkVersion 10
          targetSdkVersion 21
          versionCode 8
          versionName "1.6"
      }
      buildTypes {
          release {
              runProguard false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      compile 'com.android.support:appcompat-v7:21.0.0'
      compile 'it.sephiroth.android.library.imagezoom:library:1.0.4'
      compile 'com.android.support:palette-v7:21.0.+'
  }
  </code></pre>
  
  <p>And here's the other one:</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:1.0.0-rc2'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          jcenter()
      }
  }
  </code></pre>
  
  <p>I don't know how to fix the problem, could anyone help me?</p>