Commit 2d79ce84 authored by Seth Ladd's avatar Seth Ladd Committed by GitHub

don't send analytics when run from another runner (#10789)

parent 66502138
......@@ -110,6 +110,7 @@ class FlutterPlugin implements Plugin<Project> {
if (!debugFlutterJar.isFile()) {
project.exec {
executable flutterExecutable.absolutePath
args "--suppress-analytics"
args "precache"
}
if (!debugFlutterJar.isFile()) {
......@@ -272,6 +273,7 @@ abstract class BaseFlutterTask extends DefaultTask {
args "--local-engine-src-path", localEngineSrcPath
}
args "build", "aot"
args "--suppress-analytics"
args "--quiet"
args "--target", targetPath
args "--target-platform", "android-arm"
......@@ -288,6 +290,7 @@ abstract class BaseFlutterTask extends DefaultTask {
args "--local-engine-src-path", localEngineSrcPath
}
args "build", "flx"
args "--suppress-analytics"
args "--target", targetPath
if (kernelFile != null) {
args "--kernel", kernelFile.absolutePath
......
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