Commit 77e53016 authored by Jakob Andersen's avatar Jakob Andersen Committed by GitHub

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
parent 464a8e7c
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment