buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.2.0-beta1' classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4' } ext { versions = [supportLib: "24.2.0", gpsLib : "9.4.0", sdk : [compile: 23, buildTools: "23.0.3", min: 9, target: 23]] } } allprojects { repositories { mavenCentral() def androidHome = System.getenv("ANDROID_HOME") maven { url "$androidHome/extras/android/m2repository/" } maven { url "$androidHome/extras/google/m2repository/" } def userHome = System.getenv("HOME") maven { url "$userHome/.m2/repository/" } flatDir { dirs 'misc/libs' } if (!project.hasProperty("ossrhUsername")) { ext.ossrhUsername = "no-username" } if (!project.hasProperty("ossrhPassword")) { ext.ossrhPassword = "no-password" } } }