// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.3.2' // https://inthecheesefactory.com/blog/how-to-upload-library-to-jcenter-maven-central-as-dependency/en // https://www.theguardian.com/technology/developer-blog/2016/dec/06/how-to-publish-an-android-library-a-mysterious-conversation classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3' } } allprojects { repositories { jcenter() maven { url 'https://maven.google.com' } } } ext { compileSdkVersion = 25 buildToolsVersion = "25.0.2" supportLibVersion = '25.3.1' minSdkVersion = 15 targetSdkVersion = 25 } task clean(type: Delete) { delete rootProject.buildDir }