Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from jcenter #586

Open
moisoni97 opened this issue May 5, 2021 · 12 comments
Open

Migrate from jcenter #586

moisoni97 opened this issue May 5, 2021 · 12 comments

Comments

@moisoni97
Copy link

jcenter is at end of life, please migrate it to Maven Central.

@cemrich
Copy link

cemrich commented Jun 11, 2021

Jcenter will continue to work for a read-only repository, but new packages can no longer be uploaded. See their announcement for more information.

The linter in Android Studio 4.2 starts complaining about the usage of jcenter so many people will try to get rid of it the next months:
grafik

Fetch is the last project blocking my migration aways from jcenter. I found a mirror over at JitPack but it is missing the okhttp integration.

@tzugen
Copy link

tzugen commented Aug 25, 2021

@tonyofrancis Hey, are you planning to do this? Otherwise I would think of publishing a fork to Mavencentral myself if thats ok for you..

@FraMag33
Copy link

FraMag33 commented Sep 2, 2021

@tonyofrancis Hey, are you planning to do this? Otherwise I would think of publishing a fork to Mavencentral myself if thats ok for you..

Have you published the lib on Maven Central?

@tzugen
Copy link

tzugen commented Sep 2, 2021

No, decided to not use a library for our project...

@kesha-antonov
Copy link

Any news please?

@moisoni97
Copy link
Author

Any news please?

Latest JCenter() release is also available on JitPack: implementation 'com.github.tonyofrancis.Fetch:xfetch2:3.1.6'

@kesha-antonov
Copy link

Any news please?

Latest JCenter() release is also available on JitPack: implementation 'com.github.tonyofrancis.Fetch:xfetch2:3.1.6'

thanks

@sairajsawant
Copy link

androidx versions are not available on jcenter() - where can I get them?

@moisoni97
Copy link
Author

androidx versions are not available on jcenter() - where can I get them?

What do you mean by androidx versions?

I use AndroidX and this dependency from jitpack works: implementation 'com.github.tonyofrancis.Fetch:xfetch2:3.1.6'

@sairajsawant
Copy link

sorry @moisoni97, i meant okhttp

@moisoni97
Copy link
Author

sorry @moisoni97, i meant okhttp

For that I think you should implement this dependency: implementation 'com.github.tonyofrancis.Fetch:xfetch2:3.1.6' and then implement fetch2okhttp as a module to your app.
If you are like me and hate modules, fetch2okhttp package contains only 2 classes so you can create them inside your project, but for that, you also need to implement okhttp dependency separately in your build.gradle and maybe other dependencies.

@parthdiyora18
Copy link

implementation 'com.github.tonyofrancis.Fetch:xfetch2:3.1.6' this dependency don't work for android 14

Error One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants