title: Unable to resolve dependency error while integrating any liabrary in android studio 3.1.3
body: <p>Recently i have updated android studio to 3.1.3 everytime i am getting the "Unable to resolve Ddependency" error. Stuck with this problem already i have wasted lotts of days solving this error but nothing works. Please help me to resolve this error.I have uploaded my gradle file here and also the error log.</p>
  
  <p><strong>Below is my gradle file:</strong>
  <code>apply plugin: 'com.android.application'</code></p>
  
  <pre><code>android {
  
  
  
  compileSdkVersion 27
  
  defaultConfig {
      applicationId "com.example.administrator.myapplication1"
      minSdkVersion 15
      targetSdkVersion 27
      versionCode 1
      versionName "1.0"
      testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  }
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
  }
  `}`
  
  `repositories {`
      `maven {`
          url "https://jitpack.io"
      }
  }
  
  dependencies {
      implementation fileTree(include: ['*.jar'], dir: 'libs')
      implementation 'com.android.support:appcompat-v7:27.1.0'
      implementation 'com.android.support.constraint:constraint-layout:1.1.2'
      androidTestImplementation 'com.android.support.test:runner:1.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  implementation 'com.squareup.picasso:picasso:2.71828'
  implementation 'com.android.support:design:27.1.0'
  implementation 'de.hdodenhof:circleimageview:2.2.0'
  implementation('com.github.ozodrukh:CircularReveal:2.0.1@aar') {
      transitive = true;
  }
  implementation project(':library')
  api 'com.github.ozodrukh:CircularReveal:1.1.1'
  implementation 'com.squareup.okhttp3:okhttp:3.11.0'
  }
  
  allprojects {
      repositories {
          jcenter()
      }
  }
  apply plugin: 'com.google.gms.google-services'
  `
  </code></pre>
  
  <p>Error log:</p>
  
  <pre><code>Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
  It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
  
  Unable to resolve dependency for ':app@debug/compileClasspath': Could not download okhttp.jar (com.squareup.okhttp3:okhttp:3.11.0): Skipped due to earlier error
  Open File
  Show Details
  
  Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not download okhttp.jar (com.squareup.okhttp3:okhttp:3.11.0): Skipped due to earlier error
  Open File
  Show Details
  
  
  Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not download okhttp.jar (com.squareup.okhttp3:okhttp:3.11.0): Skipped due to earlier error
  Open File
  Show Details
  
  
  Unable to resolve dependency for ':app@release/compileClasspath': Could not download okhttp.jar (com.squareup.okhttp3:okhttp:3.11.0): Skipped due to earlier error
  Open File
  Show Details
  
  
  Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not download okhttp.jar (com.squareup.okhttp3:okhttp:3.11.0): Skipped due to earlier error
  Open File
  Show Details
  `
  </code></pre>
  
  <p>Project(build.gradle):</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
  
      repositories {
          google()
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:3.1.3'
          classpath 'com.google.gms:google-services:3.0.0'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          google()
          jcenter()
      }
  }
  allprojects {
      repositories {
  
          maven {
              url "http://dl.bintray.com/florent37/maven"
          }
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>