buildscript { ext { compileSdkVersion = 27 minSdkVersion = 24 targetSdkVersion = 27 espressoVersion = '3.0.1' junitVersion = '4.12' kotlinVersion = '1.2.0' supportLibVersion = '27.0.2' supportTestVersion = '1.0.1' } repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.0.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" } } allprojects { repositories { google() jcenter() } } task clean(type: Delete) { delete rootProject.buildDir }