diff options
author | Marvin Borner | 2018-07-20 13:35:01 +0200 |
---|---|---|
committer | Marvin Borner | 2018-07-20 13:35:01 +0200 |
commit | 18b8bd888a13c6dadfb7961cc88214332b6f5d38 (patch) | |
tree | d612ebe36e8211ffd74b2ead56e07600a98bfe5f /android/settings.gradle | |
parent | a5f5deac3f5bed6beee343df237c74294766426e (diff) |
Began basic chat interface
Diffstat (limited to 'android/settings.gradle')
-rw-r--r-- | android/settings.gradle | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/android/settings.gradle b/android/settings.gradle new file mode 100644 index 0000000..115da6c --- /dev/null +++ b/android/settings.gradle @@ -0,0 +1,15 @@ +include ':app' + +def flutterProjectRoot = rootProject.projectDir.parentFile.toPath() + +def plugins = new Properties() +def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins') +if (pluginsFile.exists()) { + pluginsFile.withInputStream { stream -> plugins.load(stream) } +} + +plugins.each { name, path -> + def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile() + include ":$name" + project(":$name").projectDir = pluginDirectory +} |