omicronapps / 7-Zip-JBinding-4Android

Android Java wrapper for 7z archiver engine
GNU Lesser General Public License v2.1
122 stars 25 forks source link

Can't download from bintray #11

Closed RobbWatershed closed 3 years ago

RobbWatershed commented 3 years ago

I realized today that all resources hosted on bintray are inaccessible : bintray returns a 403 forbidden

e.g. https://dl.bintray.com/omicronapps/7-Zip-JBinding-4Android/net/sf/sevenzipjbinding/sevenzipjbinding/16.02-2.02/sevenzipjbinding-16.02-2.02.pom

This is kinda critical as my app's CI won't build if bintray can't serve the required files.

From what I've read elswhere (https://github.com/jeremylong/DependencyCheck/issues/2739), it might be that your account hit a rate limit...

Could you do something to fix it quickly ?

NB : Bintray will apparently disappear in favour of jfrog, starting from July 4th

omicronapps commented 3 years ago

I'm afraid it looks like JFrog Bintray services are no longer be available as of May 1st, 2021: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

However, it should be possible to use JitPack instead to consume the AAR libraries:

https://jitpack.io/#omicronapps/7-Zip-JBinding-4Android/Release-16.02-2.02

Step 1. Add the JitPack repository to your build file Add it 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.omicronapps:7-Zip-JBinding-4Android:Release-16.02-2.02'
}

I tested this locally and I was able to build an application using the JitPack repository. Please let me know if this works, and I will update the documentation.

RobbWatershed commented 3 years ago

I confirm it does work with that new host, thanks !