- 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.propertieswith-SNAPSHOT ./gradlew publishToMavenLocal- Add the
mavenLocal()repository and the library to the consumer project
- Update version in
gradle.propertieswith-SNAPSHOT ./gradlew publishToMavenCentral- Add the
maven { url = uri("https://central.sonatype.com/repository/maven-snapshots/") }repository and the library to the consumer project