Put Gradle output in build/ (#8759)

Changed the default build output directory in the new project template
to build/, instead of android/build/ and android/app/build/.

Updated tools to ask the Gradle scripts what the build directory is,
since this is configurable in the build scripts, and we need to know
where the build output actually is.

Silenced output from 'flutter build aot' when invoked from Gradle, since
the output was confusing in this case.

Fixes #8723
Fixes #8656
Fixes #8138
This commit is contained in:
Jakob Andersen
2017-03-15 10:53:22 +01:00
committed by GitHub
parent e8a6df4df9
commit 1457f3dbb0
4 changed files with 59 additions and 17 deletions

View File

@@ -14,6 +14,11 @@ allprojects {
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
task clean(type: Delete) {
delete rootProject.buildDir
}