title: Can't add ViewPagerIndicator to app with Gradle
body: <p>i am trying to add Jack Whartons ViewPagerIndicator library <a href="https://github.com/JakeWharton/ViewPagerIndicator" rel="nofollow noreferrer">https://github.com/JakeWharton/ViewPagerIndicator</a>
  to my app as i want to use the circle indicator for the viewpager i have. However i am  having trouble adding it to my app.
  i have followed this tutorial - <a href="https://stackoverflow.com/questions/21130003/using-viewpagerindicator-library-with-android-studio-and-gradle">Using ViewPagerIndicator library with Android Studio and Gradle</a></p>
  
  <p>However i am getting this error</p>
  
  <pre><code>    Error:Artifact 'library.aar (com.viewpagerindicator:library:2.4.1)' not found.
  Searched in the following locations:
      https://jcenter.bintray.com/com/viewpagerindicator/library/2.4.1/library-2.4.1.aar
  </code></pre>
  
  <p>if i remove the <code>jCenter()</code> code in my gradle then it works but the other dependencies i have included do not, so i am not sure how to get round having all the dependencies work together.</p>
  
  <p>Here is my top level gradle file</p>
  
  <pre><code>    // Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
      repositories {
          jcenter()
          maven { url "http://dl.bintray.com/populov/maven" }
          mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:1.0.1'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          jcenter()
          maven { url "http://dl.bintray.com/populov/maven" }
          mavenCentral()
  
      }
  }
  </code></pre>
  
  <p>And here is my module:app gradle file</p>
  
  <pre><code>    apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 22
      buildToolsVersion "21.1.2"
  
      defaultConfig {
          applicationId "co.app.al.app"
          minSdkVersion 16
          targetSdkVersion 22
          versionCode 1
          versionName "1.0"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:22.0.0'
      compile 'com.afollestad:material-dialogs:0.6.2.3'
      compile files('libs/volley.jar')
      compile 'uk.co.chrisjenx:calligraphy:2.0.2'
      compile 'com.viewpagerindicator:library:2.4.1@aar'
  
  }
  </code></pre>
  
  <p>Thanks for any and all help</p>