Unverified Commit eefe4a76 authored by gaaclarke's avatar gaaclarke Committed by GitHub

FlutterEngineGroup memory test: added precache before executing gradle. (#75793)

parent 2ed28573
......@@ -59,6 +59,8 @@ Future<TaskResult> _doTest() async {
final String gradlewExecutable =
Platform.isWindows ? '.\\$gradlew' : './$gradlew';
final String flutterPath = path.join(flutterDirectory, 'bin', 'flutter');
await utils.eval(flutterPath, <String>['precache', '--android'],
workingDirectory: modulePath);
await utils.eval(flutterPath, <String>['pub', 'get'],
workingDirectory: modulePath);
_copyGradleFromModule(modulePath, androidPath);
......
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