// Top-level Gradle build file. Adapted from SDL2's own android-project
// template (see app/src/main/java/org/libsdl/app/, copied from the same
// template). Unlike the C/SDL2 desktop build, this needs network access
// at build time for Gradle/AGP's own dependency resolution - see
// build-apk.sh.
buildscript {
    repositories {
        mavenCentral()
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:8.1.1'
    }
}

allprojects {
    repositories {
        mavenCentral()
        google()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}
