Android-SpinKit icon indicating copy to clipboard operation
Android-SpinKit copied to clipboard

Unable to add dependency

Open mohitgandhi2711gmailcom opened this issue 3 years ago • 8 comments

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()

mohitgandhi2711gmailcom avatar May 28 '21 13:05 mohitgandhi2711gmailcom

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

yousrybadr avatar Jun 26 '21 21:06 yousrybadr

mavenCentral or google

harimoradiya avatar Jul 15 '21 07:07 harimoradiya

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'
}

mrjosh avatar Aug 05 '21 21:08 mrjosh

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 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 .

mohitgandhi2711gmailcom avatar Aug 06 '21 04:08 mohitgandhi2711gmailcom

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

harimoradiya avatar Aug 07 '21 03:08 harimoradiya

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' }
    }
}

sebastinto avatar Sep 27 '21 19:09 sebastinto

Thank Your For The help

Rahul123456789mondal avatar Mar 03 '22 07:03 Rahul123456789mondal

Thanks

y1g4 avatar Sep 14 '22 17:09 y1g4