From 24b1a022241612718103e2a209cbbdf8718eac9d Mon Sep 17 00:00:00 2001 From: Viral Kachhadiya Date: Fri, 27 Aug 2021 02:32:46 +0530 Subject: [PATCH] replace localEngineOut with local-engine-out (#85968) * replace localEngineOut with local-engine-out * local-engine-out section removed entirely Co-authored-by: Christopher Fujino --- packages/flutter_tools/gradle/aar_init_script.gradle | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/flutter_tools/gradle/aar_init_script.gradle b/packages/flutter_tools/gradle/aar_init_script.gradle index 1ac0599269..e133e45c43 100644 --- a/packages/flutter_tools/gradle/aar_init_script.gradle +++ b/packages/flutter_tools/gradle/aar_init_script.gradle @@ -45,14 +45,6 @@ void configureProject(Project project, String outputDir) { return } - if (project.hasProperty('localEngineOut')) { - // TODO(egarciad): Support local engine. - // This most likely requires refactoring `flutter.gradle`, so the logic can be reused. - throw new GradleException( - "Local engine isn't supported when building the plugins as AAR. " + - "See: https://github.com/flutter/flutter/issues/40866") - } - String storageUrl = System.getenv('FLUTTER_STORAGE_BASE_URL') ?: "https://storage.googleapis.com" // This is a Flutter plugin project. Plugin projects don't apply the Flutter Gradle plugin, // as a result, add the dependency on the embedding.