simple-stack icon indicating copy to clipboard operation
simple-stack copied to clipboard

Publish to MavenCentral instead of just Jitpack.io

Open Zhuinden opened this issue 2 years ago • 4 comments

A reference implementation for hosting on MavenCentral might be found here:

https://github.com/requery/sqlite-android/pull/169/files

While I do like jitpack.io, I can't really ignore two things:

1.) some people say that Jitpack taking the source and creating unsigned AARs is a security liability, but would still not grab the source code and put it in their code directly because it is objectively a hassle to do. Still, this prevents the library from being used by certain organizations.

2.) Jitpack has noticeable downtimes that MavenCentral never has.

image

If someone is on a new machine, and the library is not cached, they can easily be stuck for a while, waiting for Jitpack to recover.

This is quite a problem. So if one were to figure out how to actually make MavenCentral host libraries (i do own zhuinden.com so it is not actually a problem), then the latest versions of Simple-Stack and accompanying libraries (simple-stack-extensions, simple-stack-compose-integration, state-bundle) should be rehosted on MavenCentral.

Zhuinden avatar Jan 22 '23 21:01 Zhuinden

delete the lib from jitpack

Duna avatar Jul 18 '24 13:07 Duna

Would have to put it on MavenCentral first. Maybe they've streamlined their process a bit compared to the past.

Zhuinden avatar Jul 19 '24 09:07 Zhuinden

This seems to know how to do it https://github.com/afreakyelf/Pdf-Viewer/commit/cf23b713a6af797cef709986081eafa20ae78d92

Zhuinden avatar Sep 29 '25 07:09 Zhuinden

We've been using this plugin lately on our projects: https://vanniktech.github.io/gradle-maven-publish-plugin/central . It has been pretty easy to set up.

matejdro avatar Sep 29 '25 15:09 matejdro