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