Revert the revert (#65602)

This commit is contained in:
Yuqian Li
2020-09-11 16:20:03 -07:00
committed by GitHub
parent 92eb7945a5
commit e1eddb401d
22 changed files with 520 additions and 3 deletions

View File

@@ -3,3 +3,13 @@
// found in the LICENSE file.
include ':app'
def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
def properties = new Properties()
assert localPropertiesFile.exists()
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"