buildscript { repositories { mavenCentral() } dependencies { // NOTE: Always use fixed version codes not dynamic ones, e.g. 0.7.3 instead of 0.7.+, see README for more information classpath 'com.android.tools.build:gradle:0.11.1' //classpath 'org.robolectric.gradle:gradle-android-test-plugin:0.10.0' } } allprojects { repositories { mavenCentral() } } task wrapper(type: Wrapper) { gradleVersion = '1.12' }