buildscript { repositories { gradlePluginPortal() google() mavenCentral() } dependencies { classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10") classpath("com.android.tools.build:gradle:7.1.2") } } allprojects { repositories { google() mavenCentral() jcenter() maven { url = uri("https://www.jitpack.io") } } } tasks.register("clean", Delete::class) { delete(rootProject.buildDir) }