-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Comments
jcenter is at end of life, please change it into mavenCentral or google |
mavenCentral or google |
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'
} |
The Spin Kit library does not exist in the maven repository
You need to use jcenter() for this, But That is deprecated.
Suggestion:-
1. Use Spin Kit with Jcenter(Deprecated) (Not Recommended)
2. Spin Kit is Open Library(Not Sure, need to check), Then you can add that
code directly in your project.
3. Choose any alternative Library.
…On Fri, Aug 6, 2021 at 3:12 AM MrJosh ***@***.***> wrote:
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'
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#80 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJCJZ5EIQASZR2GUKGZHGC3T3MAVFANCNFSM45WSRZ5Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
maven { url 'https://jitpack.io' } |
For folks using a recent Gradle version, add the jitpack repo in your dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
} |
Thank Your For The help |
Thanks |
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()
The text was updated successfully, but these errors were encountered: