buildscript { repositories { google() mavenCentral() } dependencies { classpath("com.android.tools.build:gradle:8.0.2") } } allprojects { repositories { mavenLocal() google() mavenCentral() } } task clean(type: Delete) { delete rootProject.buildDir } tasks.withType(JavaCompile) { options.deprecation = true }