Unverified Commit b6796f42 authored by Mikkel Nygaard Ravn's avatar Mikkel Nygaard Ravn Committed by GitHub

Inject plugins before evaluating Gradle project (#13827)

parent 4d2c2aaa
......@@ -86,6 +86,7 @@ Future<GradleProject> _gradleProject() async {
Future<GradleProject> _readGradleProject() async {
final String gradle = await _ensureGradle();
updateLocalProperties();
injectPlugins();
try {
final Status status = logger.startProgress('Resolving dependencies...', expectSlowOperation: true);
final RunResult runResult = await runCheckedAsync(
......@@ -223,8 +224,6 @@ Future<Null> buildGradleProject(BuildInfo buildInfo, String target) async {
// update local.properties, in case we want to use it in the future.
updateLocalProperties(buildInfo: buildInfo);
injectPlugins();
final String gradle = await _ensureGradle();
switch (flutterPluginVersion) {
......
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