title: Gradle DSL method not found : 'compile()'
body: <p>I have gone through almost all posts for this error. But i was unable for figure out the issue.
  I have tried to change build.gradle repositories to mavenCentral() and have also tried make changes in app.gradle. I just though of adding volley into my app, from then the sync is getting failed.
  I have also tried file->Invalidate caches/Restart.</p>
  
  <p>I feel there is some problem with getDefaultProgaurdFile. as I can see it is underlined.
  Please help me on this.
  Thanks</p>
  
  <pre><code>                apply plugin: 'com.android.application'
              android {
               compileSdkVersion 23
               buildToolsVersion "23.0.2"
               defaultConfig {
                applicationId "com.six30labs.cms"
                minSdkVersion 15
                targetSdkVersion 19
                versionCode 1
                versionName "1.0"
               }
               buildTypes {
               release {
               minifyEnabled false
               proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
                }
               }
              }
  </code></pre>
  
  <p><a href="http://postimg.org/image/4kv7qh7cr/" rel="nofollow">http://postimg.org/image/4kv7qh7cr/</a></p>
  
  <p><a href="http://postimg.org/image/azlbyum2b/" rel="nofollow">http://postimg.org/image/azlbyum2b/</a></p>