// Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { // Ensure these match your Flutter Gradle plugin requirements id("com.android.application") version "8.9.1" apply false id("org.jetbrains.kotlin.android") version "2.1.0" apply false } allprojects { repositories { google() mavenCentral() } } // Optional: custom build directory (keep this if you really need a shared build folder) val newBuildDir = rootProject.layout.buildDirectory.dir("../../build").get() rootProject.layout.buildDirectory.set(newBuildDir) subprojects { val newSubprojectBuildDir = newBuildDir.dir(name) layout.buildDirectory.set(newSubprojectBuildDir) } subprojects { evaluationDependsOn(":app") } tasks.register("clean") { delete(rootProject.layout.buildDirectory) }