To release, use gradle to build and deploy, if you have gradle installed then use as normal if not then use ./gradlew
- Firstly use
git flow
to create a newrelease
with the next version number. - Change the version in the relevant
gradle.properties
file. - Commit the update
- Finish the
git flow
release and tag with the version number - git checkout the master branch
gradle test
run a final testgradle bintrayUpload --info
build and deploy to Bintray
You will need to set system environment variables
BINTRAY_USER
- your Bintray usernameBINTRAY_KEY
- your Bintray API key
Assuming test
completes then run the bintrayUpload
command to build the jar
s and tar
files and then upload them
to Bintray.