// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
	ext.kotlin_version = '2.2.20'
	repositories {
		google()
		mavenCentral()
		gradlePluginPortal()
	}
	dependencies {
		// This is what usually referred by as AGP.
		// Make sure your Android Studio version supports it.
		classpath 'com.android.tools.build:gradle:8.9.3'
		classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

		// NOTE: Do not place your application dependencies here; they belong
		// in the individual module build.gradle files
	}
}

plugins {
	id 'com.google.devtools.ksp' version '2.2.20-2.0.3' apply false
	id 'org.jetbrains.kotlin.android' version '2.2.20' apply false
	id 'org.mozilla.rust-android-gradle.rust-android' version '0.9.6' apply false
}

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

tasks.register('clean', Delete) {
	delete rootProject.layout.buildDirectory
}
