I used to using this plugin for creating android library release zip file, and manually upload it to bintray website.

blundell/release-android-library

Recently, it says it’s no longer being maintained; and another gradle plugin is recommended.

novoda/bintray-release

Novoda’s bintray-release allows you to upload locally built javadoc/source jars, and library aar files to bintray directly, without manual work. What a relief if it really works.

By following the instructions on GitHub, within minutes, the configuration is ready for trial.

However, during building local files, some javadoc error might happen with following error logs:

View gist

It happens when javadoc task encounters some errors. This error can be bypassed by adding following code snippet to the gradle file.

View gist

After configuring all parameters for bintray-release plugin, remember to add dryRun = false in the script, or execute the command as below, to allows it really uploading the files to bintray:

./gradlew clean build bintrayUpload -PbintrayUser=me -PbintrayKey=key -PdryRun=false