buildscript { repositories { google() mavenCentral() gradlePluginPortal() } dependencies { classpath("com.android.tools.build", "gradle", "7.2.0") classpath(kotlin("gradle-plugin", libs.versions.kotlin.get())) } } tasks.register("clean", Delete::class) { delete(rootProject.buildDir) }