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