Script to simplify bintray upload of android libraries
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Tengio bintray Script

Script that simplify the bintray configuration for android libraries. The configuration is based on tengio usual configuration. If you want to use something similar for your organization you can override all the bintray properties.


You can place this in your root build.gradle or you app build.gradle.

This script need bintray and maven plugin to be declared as dependencies:

classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'

they need to be added in the buildscript like this example:

buildscript {
  repositories {
        maven { url "" }
    dependencies {
        classpath ''
        classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
        classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
        classpath ""

To use the script you just have to use apply from in the library module.

apply from: ''

Finally aa minimal configuration for the project you need:

bintray {
  pkg {
    name = 'project-name'
    vcsUrl = ''

Bintray plugin expect the user and api key to be declared as env properties. The best way to set the properties you can add them in the ~/.gradle/ file.