laenger / ViewPagerBottomSheet

Use ViewPagers in Bottom Sheets!
Apache License 2.0
465 stars 86 forks source link

Failed to resolve: biz.laenger.android:vpbs:0.0.5 #28

Closed sharukhmohammed closed 6 years ago

sharukhmohammed commented 6 years ago

I get this error on Studio 3.1

screen shot 2018-08-20 at 12 16 36

I have added the Maven Url too

daniellAlgar commented 6 years ago

Where have you aded the maven repository?

Try to add it to

allprojects {
    repositories {
        maven { url "https://raw.github.com/laenger/maven-releases/master/releases" }
    }
}
sharukhmohammed commented 6 years ago

Now I've moved it to the project level build.gradle file and it syncs without the error. I wonder why it would fail when it was placed in the module level. Thanks!

sharukhmohammed commented 6 years ago

Why must I mention the maven URL in project level build.gradle? This has drastically improved the build time as it searches for libs like 'play-services' and 'app-compat' in your url. Happens recursively and fails to get anything from the same.

laenger commented 6 years ago

biz.laenger.android:vpbs:0.0.5 is now available in jcenter