aboutsummaryrefslogtreecommitdiff
path: root/android/settings.gradle
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-06-02 15:26:52 +0530
committerAkshay Nair <phenax5@gmail.com>2020-06-02 15:26:52 +0530
commitf35758beb2719c64e513f684b366c3d0db1c0ec0 (patch)
tree8c3ea4eae817d3507bb4b94f0b75e036813f9c67 /android/settings.gradle
downloaddaft-launcher-f35758beb2719c64e513f684b366c3d0db1c0ec0.tar.gz
daft-launcher-f35758beb2719c64e513f684b366c3d0db1c0ec0.zip
Init commit with the boilerplate shit
Diffstat (limited to 'android/settings.gradle')
-rw-r--r--android/settings.gradle15
1 files changed, 15 insertions, 0 deletions
diff --git a/android/settings.gradle b/android/settings.gradle
new file mode 100644
index 0000000..d3b6a40
--- /dev/null
+++ b/android/settings.gradle
@@ -0,0 +1,15 @@
+// Copyright 2014 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// 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"