title: Could not find method implementation() for arguments [directory 'libs'] on object
body: <blockquote>
  <p>Error Message:- Could not find method implementation() for arguments [directory
  'libs'] on object of type
  org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.</p>
  <p>Code</p>
  </blockquote>
  <pre><code>apply plugin: 'com.android.application'
  
  ext {
      supportVersion='27.1.1'
  }
  android {
      compileSdkVersion 28
      defaultConfig {
          applicationId &quot;com.eassycars.www.dlservices&quot;
          minSdkVersion 17
          targetSdkVersion 28
          versionCode 1
          versionName &quot;1.0&quot;
          testInstrumentationRunner &quot;android.support.test.runner.AndroidJUnitRunner&quot;
      }
  
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
      buildscript {
          repositories {
              jcenter()
          }
          configure(':app') {
          dependencies {
              classpath 'com.android.tools.build.gradle:4.8.1'
              implementation fileTree (include: ['*.jar'], dir: 'libs')
              implementation &quot;com.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler :$supportVersion&quot;
              implementation &quot;com.android.support:appcompat-v7:$supportVersion&quot;
              implementation &quot;com.android.support:cardview-v7:$supportVersion&quot;
              implementation &quot;com.android.support:recyclerview-v7:$supportVersion&quot;
              implementation &quot;com.android.support:design:$supportVersion&quot;
              implementation &quot;com.android.support:palette-v7:$supportVersion&quot;
              implementation &quot;com.android.support:customtabs:$supportVersion&quot;
              implementation &quot;com.android.support:support-v4:$supportVersion&quot;
              implementation 'com.google.android.exoplayer:exoplayer:r2.0.4'
              // utils
              implementation 'com.github.bumptech.glide:glide:4.0.0'
              annotationProcessor 'com.github.bumptech.glide:compiler:4.0.0'
              implementation 'com.koushikdutta.ion:ion:2.1.7'
              implementation 'com.github.Commit451:bypasses:1.0.4'
              implementation 'com.jakewharton:butterknife:8.8.0'
              annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.0'
              implementation 'com.drewnoakes:metadata-extractor:2.9.1'
              implementation 'com.orhanobut:hawk:2.0.1'
              classpath 'com.google.gms:google-services:3.1.1'
              implementation 'com.android.support:support-annotations:27.1.1'
          }}
      }
  }
  </code></pre>