- Change the
library_versionext property in root project'sbuild.gradlefile to a non-SNAPSHOT version. - Update the
README.mdwith the new version. - Run
git commit -am "Prepare for release X.Y.Z"(where X.Y.Z is the new version). git tag -a vX.Y.Z -m "Version X.Y.Z"(where X.Y.Z is the new version).- Run
./gradlew clean bintrayUpload. - Run
git push origin. - Sign in on Bintray and publish the packages.
- Publish release on GitHub.
- Change the
library_versionext property in root project back to a -SNAPSHOT version. - Run
git commit -am "Prepare next development version.". - Run
git push origin && git push origin --tags.
- Make sure
library_versionext property in root project'sbuild.gradlefile is set to a -SNAPSHOT version. - Run
./gradlew artifactoryPublish. Do it from command line, not from Android Studio, as the artifacts are not uploaded when the gradle task is run from the IDE (as of Android Studio3.1.0-rc01) because of a yet to be reported bug.