buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.3.3' classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4' } ext { versions = [supportLib: "25.3.1", gpsLib : "11.0.2", sdk : [compile: 25, buildTools: "25.0.3", min: 19, target: 25]] } } allprojects { repositories { jcenter() def androidHome = System.getenv("ANDROID_HOME") maven { url "$androidHome/extras/android/m2repository/" } maven { url "$androidHome/extras/google/m2repository/" } flatDir { dirs 'misc/libs' } if (!project.hasProperty("ossrhUsername")) { ext.ossrhUsername = "no-username" } if (!project.hasProperty("ossrhPassword")) { ext.ossrhPassword = "no-password" } } }