GitHub has released GitHub Packages last year. You can now easily host your private libraries without subscribing to another service.
In this post, we’re going to setup GitHub Packages to publish an example Android library.
We’ll be following these steps:
- Creating credentials for accessing GitHub’s maven repository
- Publishing an Android library to GitHub’s maven repository using a Gradle plugin
- Installing an Android library in another project
The sample project is available on GitHub here: https://github.com/rubensousa/AndroidGithubPackage