- How to publish android library (gradle 8.0 onwards)
- Please follow the steps below
Step 1: Create file jitpack.yml (same level as project path)
Step 2: Create file github-jitpack-publish.gradle (same level as library path)
apply from: './github-jitpack-publish.gradle' GithubJitPackPublish { it.userName = "{github-username}" it.repositoryName = "{repository-name}" it.version = "1.0.0" (optional) it.release = true (optional) }
- Push code to github
- Create new tag and release
- Go to https://jitpack.io and search your library
- Please star this project if you find it useful.