- Update version in
gradle.properties
- Open and merge PR
- On main:
git tag -a vX.Y.Z -m "Version X.Y.Z"
git push --tags
- Go to Sonatype repository and release artifact
- Update version in
gradle.properties
with-SNAPSHOT
./gradlew publishToMavenLocal
- Add the
mavenLocal()
repository and the library to the consumer project