buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.2.1' } } allprojects { repositories { jcenter() google() } } task clean(type: Delete) { delete rootProject.buildDir }