buildscript { repositories { google() mavenCentral() } dependencies { classpath('com.android.tools.build:gradle:8.7.3') } } allprojects { repositories { mavenLocal() google() mavenCentral() } } tasks.register('clean', Delete) { delete rootProject.buildDir } tasks.withType(JavaCompile).configureEach { options.deprecation = true }