title: Could not find method implementation() for arguments
body: <p>I try to run my app, but gradle doesn`t want to compose it.</p>
  
  <p>Can you tell me what should I do ?</p>
  
  <blockquote>
    <p>Error:(36, 0) Could not find method implementation() for arguments [com.google.firebase:firebase-appindexing:11.6.2] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.</p>
  </blockquote>
  
  <p>My app build.gradle file </p>
  
  <pre><code> minSdkVersion 14
          targetSdkVersion 22
          signingConfig signingConfigs.config
      }
      buildTypes {
          release {
              debuggable false
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
              signingConfig signingConfigs.config
          }
      }
      lintOptions {
          disable 'MissingTranslation'
      }
      productFlavors {
      }
  }
  dependencies {
      implementation 'com.google.firebase:firebase-appindexing:11.6.2'
      compile project(':AndEngine')
      compile files('libs/gson-2.8.0.jar')
      compile 'com.android.support:support-v4:22.2.1'
      compile 'com.google.firebase:firebase-core:10.2.4'
      compile 'com.google.code.gson:gson:2.8.0'
      compile 'com.google.android.gms:play-services-ads:10.2.4'
      compile 'com.google.firebase:firebase-ads:10.2.4'
      compile 'com.google.firebase:firebase-crash:10.2.4'
  
  } 
  </code></pre>