// project-level build.gradle (often known as the root build file)

buildscript {
    repositories {
        google() // Essential for Android Gradle Plugin
        mavenCentral()
    }
    dependencies {
        // This is the old way to declare AGP, but is often needed 
        // if using an older Gradle wrapper or a complex setup.
        // It's usually better to use the plugins block below.
        // classpath 'com.android.tools.build:gradle:8.2.2' 
    }
}


plugins {
    // 3. Declare the AGP with a version
    id 'com.android.application' version '8.4.1' apply false
    id 'org.jetbrains.kotlin.android' version '1.9.23' apply false 
}
