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