mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Don't include Roboto fonts in Gradle builds. (#8169)
The "old" APK build did not include Roboto fonts, but the new Gradle-based build did. This is due to `flutter build flx` defaulting to include the fonts, where the old `flutter build apk` defaulted to NOT include them. So let's change the Gradle build to also not include Roboto fonts. Fixes #8149
This commit is contained in:
parent
464a8e7cde
commit
77e53016f2
@ -222,6 +222,7 @@ class FlutterTask extends DefaultTask {
|
||||
args "build", "flx"
|
||||
args "--target", targetPath
|
||||
args "--output-file", "${intermediateDir}/app.flx"
|
||||
args "--no-include-roboto-fonts"
|
||||
if (buildMode != "debug") {
|
||||
args "--precompiled"
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user