I have encountered this problem several time whenever I update my Gradle version & Gradle Android plugin. For example, I used to use:

**Gradle** `2.1` 

**Gradle Android Plugin** `com.android.tools.build:gradle:0.13.3`

With this version, my build script contains for example:

```
buildTypes {
        release {
            runProguard true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), \
                          'proguard.cfg'
        }

        debug {
            runProguard false
        }

    }

```

Few weeks later, I saw a new Gradle version (2.2.1) was released, so, I updated my **Gradle** & **Gradle Android Plugin** to newer version:

**Gradle** `2.2.1` 

**Gradle Android Plugin** `com.android.tools.build:gradle:1.0.0+`

Then, I run command `gradle clean build`, suddenly, the build is not successful anymore, because with the newer version, I got error: 

```
Could not find method runProguard()

```

My questions are:

1. (**MAIN QUESTION**) It seems everytime when the **Gradle** & **Gradle Android Plugin** are updated, there are always some methods are deprecated, it is understandable. BUT, I am really appreciate if there is a document summarizes all the deprecated methods & their replacements. So, where can I find such information? Seems Gradle & Gradle Android Plugin don't do a good job on this to facilitate developers to quickly migrate the build script to newer version.
2. How to get rid of the error: `Could not find method runProguard()` in my above case?