unsplash-photopicker-android
unsplash-photopicker-android copied to clipboard
Move off of Bintray and onto Maven Central
Issue:
As of May 1st, Bintray is sunsetted and this library went down with it. https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/
Builds are now failing with:
Execution failed for task ':app:dataBindingMergeGenClassesAppStore'.
> Could not resolve all files for configuration ':app:appStoreCompileClasspath'.
> Could not resolve com.unsplash.pickerandroid:photopicker:1.0.0.
Required by:
project :app
> Could not resolve com.unsplash.pickerandroid:photopicker:1.0.0.
> Could not get resource 'https://dl.bintray.com/unsplash/unsplash-photopicker-android/com/unsplash/pickerandroid/photopicker/1.0.0/photopicker-1.0.0.pom'.
> Could not GET 'https://dl.bintray.com/unsplash/unsplash-photopicker-android/com/unsplash/pickerandroid/photopicker/1.0.0/photopicker-1.0.0.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.unsplash.pickerandroid:photopicker:1.0.0.
> Could not get resource 'https://dl.bintray.com/apollographql/android/com/unsplash/pickerandroid/photopicker/1.0.0/photopicker-1.0.0.pom'.
> Could not GET 'https://dl.bintray.com/apollographql/android/com/unsplash/pickerandroid/photopicker/1.0.0/photopicker-1.0.0.pom'. Received status code 403 from server: Forbidden
Suggested fix:
Please move off of it and distribute the library on Maven Central instead.
Do we have any solutions meanwhile?
Is this library still maintained? If yes, please provide the library on another platform
Hi, so sorry for the lack of update.
I just removed references to Binary in the repo and updated the instructions in the README file, to use JitPack. I'll look into moving it to Maven Central in the future.
Let me know if this is working or not for you.
The solution for the above issue is
allprojects { repositories { google() // maven { url "https://dl.bintray.com/unsplash/unsplash-photopicker-android" } // Need to remove the code here } }
== then build.gradle app
// implementation 'com.unsplash.pickerandroid:photopicker:1.0.0' ==> Remove this one implementation 'com.github.unsplash:unsplash-photopicker-android:1.0.0' ==> Add this one
Hope it will help!