ozodrukh / CircularReveal

Lollipop ViewAnimationUtils.createCircularReveal for everyone 4.0+
MIT License
2.43k stars 391 forks source link

Failed to resolve library dependency #42

Closed Shnkc closed 9 years ago

Shnkc commented 9 years ago
apply plugin: 'com.android.application'

android {
    compileSdkVersion 22
    buildToolsVersion '22.0.1'

    defaultConfig {
        applicationId "com.example.app"
        minSdkVersion 15
        targetSdkVersion 21
        versionCode 1
        versionName "1.0.1"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.github.ozodrukh:CircularReveal:1.1.0'

}

I've got following error.

Error:(31, 13) Failed to resolve: com.github.ozodrukh:CircularReveal:1.1.0

My gradle version : 1.2.3

Is there a problem on dependency?

thinwonton commented 9 years ago

add repo url to gradle, it will work fine.

repositories {
        maven {
            url "https://jitpack.io"
        }
    }
vipulasri commented 9 years ago

Please add this portion

repositories {
  maven {
    url "https://jitpack.io"
  }
}

and rename :

compile 'com.github.ozodrukh:CircularReveal:1.1.0'

to

compile 'com.github.ozodrukh:CircularReveal:1.1.1@aar'
Shnkc commented 9 years ago

Thanks, it worked.