29 lines
623 B
Kotlin
29 lines
623 B
Kotlin
// Root build.gradle.kts — project-level configuration only.
|
|
// Application-specific configuration belongs in android/app/build.gradle.kts.
|
|
|
|
plugins {
|
|
// The Flutter Gradle Plugin is applied at the app-module level, not here.
|
|
id("dev.flutter.flutter-gradle-plugin") apply false
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
rootProject.buildDir = "../build"
|
|
|
|
subprojects {
|
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
|
}
|
|
|
|
subprojects {
|
|
project.evaluationDependsOn(":app")
|
|
}
|
|
|
|
tasks.register("clean", Delete::class) {
|
|
delete(rootProject.buildDir)
|
|
}
|