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

Unable to add dependency #80

Open
mohitgandhi2711gmailcom opened this issue May 28, 2021 · 8 comments
Open

Unable to add dependency #80

mohitgandhi2711gmailcom opened this issue May 28, 2021 · 8 comments

Comments

@mohitgandhi2711gmailcom

Hi,
As jcenter() is deprecated, Without jcenter(), I am unable to add dependency in my project, Please shift this to other repositories like google() or mavenCentral()

@yousrybadr
Copy link

jcenter is at end of life, please change it into mavenCentral or google

@harimoradiya
Copy link

mavenCentral or google

@mrjosh
Copy link

mrjosh commented Aug 5, 2021

I used jitpack.io and it worked fine

Add this in your root build.gradle at the end of repositories:

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

Step 2. Add the dependency

dependencies {
    implementation 'com.github.ybq:Android-SpinKit:1.4.0'
}

@mohitgandhi2711gmailcom
Copy link
Author

mohitgandhi2711gmailcom commented Aug 6, 2021 via email

@harimoradiya
Copy link

maven { url 'https://jitpack.io' }
use this in your build.gradle project file

@sebastinto
Copy link

For folks using a recent Gradle version, add the jitpack repo in your settings.gradle file and the Spin Kit library should resolve and download.

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven { url 'https://jitpack.io' }
    }
}

@Rahul123456789mondal
Copy link

Thank Your For The help

@y1g4
Copy link

y1g4 commented Sep 14, 2022

Thanks

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

7 participants