Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error:(97, 13) Failed to resolve: com.pluscubed:recycler-fast-scroll:0.2.1 #13

Closed
codeversed opened this issue Dec 30, 2015 · 3 comments

Comments

@codeversed
Copy link

Am I the only one that can't resolve this from jitpack? I know it is setup correctly and I also noticed that only if you login to jitpack, you can see the result here: https://jitpack.io/#com.pluscubed/recycler-fast-scroll

If you are not logged in to the site, it displays a token error. Seems like the repo is set to need some kind of token?

@afollestad
Copy link
Collaborator

@codeversed rather than following what's in the README, use this:

Repository

Add this in your root build.gradle file (not your module build.gradle file):

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

Dependency

Add this to your module's build.gradle file:

dependencies {
    ...
    compile('com.github.pluscubed:recycler-fast-scroll:0.2.1@aar') {
        transitive = true
    }
}

@pluscubed

@afollestad
Copy link
Collaborator

Putting it in the root build.gradle file is important. A few of my libraries (like Material Dialogs) caused a lot of people issues, JitPack.io told me to use Gradle code similar to the above. I've also had issues with using custom domains (e.g. com.afollestad vs. com.github.afollestad), so I'd recommend just using com.github.pluscubed here instead.

@codeversed
Copy link
Author

Awesome, that worked! Thanks @afollestad!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants