yarolegovich / DiscreteScrollView

A scrollable list of items that centers the current element and provides easy-to-use APIs for cool item animations.
5.78k stars 782 forks source link

jcenter error #209

Closed m5kh6n77 closed 3 years ago

m5kh6n77 commented 3 years ago

Hello! Your library is published only to jcenter. Please consider publishing it also to mavenCentral, as jcenter is shutting down in May.

Here is some info on how to publish artifacts to mavenCentral.

kharolpooran commented 3 years ago

Please consider it as a priority people are using your library.

lester-osimdev commented 3 years ago

@m5kh6n77 @kharolpooran Please use this at the moment

allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
dependencies {
            implementation 'com.github.yarolegovich:DiscreteScrollView:v1.5.1'
    }
m5kh6n77 commented 3 years ago

@m5kh6n77 @kharolpooran Please use this at the moment

allprojects {
      repositories {
          ...
          maven { url 'https://jitpack.io' }
      }
  }
dependencies {
          implementation 'com.github.yarolegovich:DiscreteScrollView:v1.5.1'
  }

thank you

carlos-mg89 commented 3 years ago

It works for the old com.yarolegovich:discrete-scrollview:v1.4.9 version as well.

Simply replace this:

implementation 'com.yarolegovich:discrete-scrollview:v1.4.9'

with this:

implementation 'com.github.yarolegovich:DiscreteScrollView:v1.5.1'

Just tested it, and there doesn't seem to be any breaking change.

Perhaps this could be written in the README so people coming from the old 1.4 version know they can easily update to the 1.5.