diff options
author | Felipe Erias <felipeerias@igalia.com> | 2021-10-29 14:38:21 +0900 |
---|---|---|
committer | Felipe Erias <felipeerias@igalia.com> | 2021-10-29 14:38:21 +0900 |
commit | a3d903e6b27a12bc2472972e585c351710418e42 (patch) | |
tree | 338baa9748ba371e14a17cfae4eedfbc0599a6dd /android/settings.gradle |
Initial commit
Diffstat (limited to 'android/settings.gradle')
-rw-r--r-- | android/settings.gradle | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/android/settings.gradle b/android/settings.gradle new file mode 100644 index 0000000..44e62bc --- /dev/null +++ b/android/settings.gradle @@ -0,0 +1,11 @@ +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" |