alibaba / UltraViewPager

UltraViewPager is an extension for ViewPager to provide multiple features in a single ViewPager.
MIT License
5k stars 678 forks source link

library not found in mavenCentral, only jcenter #148

Open nashihu opened 3 years ago

nashihu commented 3 years ago

hello,

according to this comment, this library is available at mavenCentral

but when i try to sync using mavenCentral in gradle project level like this:

buildscript {
    repositories {
        google()
        mavenCentral()
        // jcenter()
    }
    dependencies {
        classpath "com.android.tools.build:gradle:4.1.2"

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        mavenCentral()
        // jcenter()
    }
}

it gives error not found like this

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.alibaba.android:ultraviewpager:1.0.7.7.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/alibaba/android/ultraviewpager/1.0.7.7/ultraviewpager-1.0.7.7.pom
       - https://repo.maven.apache.org/maven2/com/alibaba/android/ultraviewpager/1.0.7.7/ultraviewpager-1.0.7.7.pom
     Required by:
         project :app

any ideas? thanks...