title: Gradle DSL method not found: 'exclude()'
body: <p>I am working in Android Studio and when I added the line in build.gradle file </p>
  
  <pre><code>dependencies {
      compile files('libs/poi-ooxml-schemas-3.12-20150511-a.jar'){
          exclude group: 'stax', module: 'stax-api'
      }
  }
  </code></pre>
  
  <p>I caught the error:</p>
  
  <blockquote>
    <p>Gradle DSL method not found: 'exclude()'</p>
  </blockquote>
  
  <p>What is the reason of the error?</p>