Closed ncovercash closed 1 month ago
I appreciate your contribution and fix for that problem. Unfortunately, packages published on Github Packages require authentication to be used by the build automation tools. Hence, it is not recommended for public libraries.
See this discussion and this answer
Thanks for your hard work and time, anyway :)
Ah, I'm used to using GH packages for docker images, which does not require authentication. It might not be a bad idea to keep the CI build step at least, though.
Alright! change your PR and commits to set-it only for for CI however, for distributing the library, we will use jitpack
Pro tip : You can also automate the publishing/building of the library on jitpack using Github Actions. So that on every release, the new version will be automatically build on jitpack :)
PS : If you are interested, I can provide you with more hints and guidance on how to do that
Inactive for 6 months
This PR does a few things:
Add a GitHub workflow
This allows PRs/commits to automatically be checked for compilation, as well as deployment to GitHub packages whenever a new release is created.
Use GitHub packages for deployment
This fixes #4 since we would no longer rely on Jitpack. Instead, this adds a "Packages" section to the main repository page (as seen on my fork):
This can be configured to provide snapshot/tip-of-main releases, but I'm not sure what version management (if any) is here, so that can come later. As of now, this will publish a package on release using the
version
inbuild.gradle
(again, not sure if that should go elsewhere, but this is a starting point).One caveat for this is that GH expects lowercase artifacts IDs, and the deployment will fail otherwise, hence the use of
jx-insta
there.Change the group name
Not sure what
Libraries
was, but I imagine you want this to look likeEasyInsta.JxInsta
instead, so I changed the root project name insettings.gradle
. Also, not sure what a number of those dependencies are, or if they were carried over from some other project or something?