// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { // Make sure that you have the following two repositories google() // Google's Maven repository mavenCentral() // Maven Central repository } dependencies { // Add the dependency for the Google services Gradle plugin classpath("com.google.gms:google-services:4.3.14") } } plugins { id("com.android.application") version "8.2.0-alpha04" apply false id("com.android.library") version "8.2.0-alpha04" apply false id("org.jetbrains.kotlin.android") version "1.7.21" apply false } allprojects { repositories { // Make sure that you have the following two repositories google() // Google's Maven repository mavenCentral() // Maven Central repository } }