buildscript { repositories { google() mavenCentral() } dependencies { classpath("com.android.tools.build:gradle:8.0.0") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.20") } } allprojects { tasks.withType { val compilerArgs = options.compilerArgs compilerArgs.add("-Xlint:unchecked") compilerArgs.add("-Xlint:deprecation") } } tasks.register("clean", Delete::class) { delete(rootProject.buildDir) }