title: Could not find property 'release' on project ':app' Error
body: <p>I am implementing material design in my application.
  I am getting error "Error:(2, 0) Could not find property 'release' on project ':app'." at time of building my gradle</p>
  
  <p>here is my gradle code:</p>
  
  <pre><code>      apply plugin: 'com.android.application'
        name=release
        storeFile=null
        storePassword=null
        keyAlias=null
        keyPassword=null
        storeType=null
  
        android {
           compileSdkVersion 21
           buildToolsVersion "21.1.1"
  
        defaultConfig {
           applicationId "com.rey.material.demo"
           minSdkVersion 9
           targetSdkVersion 21
           versionCode 5
           versionName "0.0.5"
        }
  
        signingConfigs {
          release {
             storeFile file(MATERIAL_KEYSTORE_FILE)
             storePassword MATERIAL_KEYSTORE_PASSWORD
             keyAlias MATERIAL_KEYSTORE_ALIAS
             keyPassword MATERIAL_KEYSTORE_PASSWORD
          }
        }
  
        buildTypes {
          release{
             minifyEnabled true
             proguardFiles getDefaultProguardFile('proguard-android.txt'),proguard-rules.pro'
          signingConfig signingConfigs.release
          }
       }
    }
  
       dependencies {
         compile fileTree(dir: 'libs', include: ['*.jar'])
         compile 'com.android.support:appcompat-v7:22.2.0'
         compile 'com.android.support:cardview-v7:22.2.0'
         compile 'com.squareup.picasso:picasso:2.5.0'
         compile 'com.squareup.leakcanary:leakcanary-android:1.3.1'
         compile project(':lib')
       }
  </code></pre>
  
  <p>please help me,
  Thank you.</p>