mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
FlutterEngineGroup memory test: added precache before executing gradle. (#75793)
This commit is contained in:
parent
2ed2857301
commit
eefe4a7650
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user