title: Duplicate class found in modules graphview
body: <p>So I've been trying to use GraphView. I've imported it into my dependencies  but for some reason I get a dependency resolution error. Here is my app/build.gradle</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 28
      defaultConfig {
          applicationId "com.example.myapplication"
          minSdkVersion 15
          targetSdkVersion 28
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation 'com.android.support:appcompat-v7:28.0.0'
      implementation 'com.android.support:design:28.0.0'
      implementation 'com.android.support.constraint:constraint-layout:1.1.3'
      implementation 'android.arch.lifecycle:extensions:1.1.1'
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:1.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
      implementation 'com.getbase:floatingactionbutton:1.10.1'
      implementation 'org.jetbrains:annotations-java5:15.0'
      implementation 'com.jjoe64:graphview:4.2.2'
  }
  </code></pre>
  
  <p>But When I try to run the app, the build fail and I get the following error:</p>
  
  <pre><code>"Duplicate class com.jjoe64.graphview.GraphView found in modules GraphView-3.0.jar (GraphView-3.0.jar) and classes.jar (com.jjoe64:graphview:4.2.2)
  Duplicate class com.jjoe64.graphview.GraphView$1 found in modules GraphView-3.0.jar (GraphView-3.0.jar) and classes.jar (com.jjoe64:graphview:4.2.2)
  </code></pre>
  
  <p>Go to the documentation to learn how to Fix dependency resolution errors."</p>
  
  <p>And the line "implementation 'com.android.support:appcompat-v7:28.0.0'" shows error, and claims that I'm using both version 28.0.0 and 27.1.1.</p>
  
  <p>What am I missing?</p>