Can I add GitHub project as gradle dependency?
from the CommonsWare Community archivesAt December 14, 2019, 9:02am, _shahdhaval asked:
Hello.
I have created a java library module in Android Studio. I have uploaded that module to GitHub.
So can I use that module as a dependency in my other project from GitHub?
Can I use something like
implementation ‘GIT_HUB_LINK’ ??
At December 14, 2019, 11:58am, mmurphy replied:
Not directly.
jitpack.io automatically creates Maven-style artifacts from a GitHub repository, though presumably there are some rules about the repository structure that you need to comply with. There may be other similar solutions.
At August 30, 2020, 12:31am, kaushik.rpk replied:
@mmurphy I was looking something similar. I was about to ask this question. I have a library which is at GitHub, I have a project in which I want to use. I also want some automation in the library project in such a way that whenever I push code inside the library Github, it will create a new release and I can consume that library in my project. So far I try this link integration guide for bintray. I want your suggestion and guide which is a better option? For the current scenario, I have to go on to the Github library project need to run action flows to make a new release. Can you provide me some link from your book about it.
At August 30, 2020, 11:17am, mmurphy replied:
I have never used either option, so I cannot comment on them. Sorry!