public int version_code() { return 140 } public String version_name() { return '2.1.1' } public int android_sdk_version() { return 21 } public String android_build_tools_version() { return '21.1.2' } public String android_min_sdk_version() { return 9 } buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:1.0.0' } } 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/" } } }