Android-SpinKit
Android-SpinKit copied to clipboard
Unable to add dependency
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()
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:-
- Use Spin Kit with Jcenter(Deprecated) (Not Recommended)
- Spin Kit is Open Library(Not Sure, need to check), Then you can add that code directly in your project.
- 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 https://github.com/ybq/Android-SpinKit/issues/80#issuecomment-893827580, 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' } use this in your build.gradle project file
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' }
}
}
Thank Your For The help
Thanks