afreakyelf / Pdf-Viewer

A Lightweight PDF Viewer Android library which only occupies around 80kb while most of the Pdf viewer occupies up to 16MB space.
https://afreakyelf.github.io/Pdf-Viewer/
MIT License
820 stars 173 forks source link

Publish library to mavenCentral #117

Closed vanniktech closed 8 months ago

vanniktech commented 8 months ago

Could you please publish the maven directly to maven central? That way no one has to rely on jitpack and it's the common practice for every library to be published to maven central.

github-actions[bot] commented 8 months ago

Thank you for creating your first issue. We appreciate your help in making this project better. We will look into it, and get back to you soon. Need help or want to discuss this issue? Join our Discord community here to ask questions and discuss this issue live!

afreakyelf commented 8 months ago

Hey @vanniktech, i reached out to you, i have been facing some issue while using your plugin. Please take a look at https://github.com/vanniktech/gradle-maven-publish-plugin/issues/749

vanniktech commented 8 months ago

Interesting, can you try again? Also I've automated the process in such a way that GitHub's Runner can do releases for me: https://github.com/vanniktech/blurhash/tree/master/.github/workflows - feel free to take those configs!

And then here https://github.com/afreakyelf/Pdf-Viewer/settings/secrets/actions you only need to create these 4 variables:

Screenshot 2024-03-28 at 09 26 20

Release works by pushing a git tag. Snapshots are built automatically. You might need to tweak the branch names if you've got different ones.

vanniktech commented 8 months ago

Hmm what are the coordinates?