fix(build): route subprojects buildDir to ../build so Flutter CLI finds generated APKs

This commit is contained in:
2026-09-14 09:17:01 +02:00
parent 7f4218b0a2
commit 2917f93323
3 changed files with 43 additions and 23 deletions
+3 -1
View File
@@ -23,7 +23,9 @@ allprojects {
rootProject.buildDir = '../build'
subprojects {
// Note: Do not override project.buildDir across different drives on Windows (H: vs C:)
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
// Inject namespace into plugins that don't have it (required for AGP 8+)
afterEvaluate { project ->