title: Solution for Could not find method maven()
body: <p>Gradle Project sync Failed </p>
  
  <pre><code>buildscript {
       repositories {
          jcenter()
                     }
                     dependencies {`
  
  
  classpath 'com.android.tools.build:gradle:2.3.0'
      maven {
          url 'http://conjars.org/repo/'
          name 'Google'
          }
      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files
      }
  
    }
  allprojects {
  repositories {
      jcenter()
      mavenCentral()
      maven { url 'https://jitpack.io' }
      maven {
          url 'https://maven.google.com/'
          name 'Google'
          }
  }
  }
  
     task clean(type: Delete) {
      delete rootProject.buildDir
    }
  </code></pre>
  
  <p>Please help me to solve this error and sync my gradle </p>
  
  <p>Error Message : </p>
  
  <blockquote>
    <p>Could not find method maven() for arguments [build_c9dzq9rre1sc1dq0winaq8sc0$_run_closure1$_closure3$_closure4@33323af1] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.</p>
  </blockquote>