// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.0.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { jcenter() repositories { jcenter() } maven { url 'https://maven.google.com/' name 'Google' } } } ext { gradleVersion="3.0.1" buildToolsVersion = "25.0.3" supportLibVersion = "25.4.0" runnerVersion = "1.0.1" rulesVersion = "1.0.1" espressoVersion = "3.0.1" } task clean(type: Delete) { delete rootProject.buildDir }