1
0
mirror of https://github.com/nisrulz/flutter-examples.git synced 2025-11-12 14:39:13 +00:00

Added a new example for google signin.

This commit is contained in:
Hariharan
2018-07-03 11:59:44 -04:00
parent 4cd2d05216
commit c70813dea9
62 changed files with 1591 additions and 0 deletions

View File

@@ -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.withReader('UTF-8') { reader -> plugins.load(reader) }
}
plugins.each { name, path ->
def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
include ":$name"
project(":$name").projectDir = pluginDirectory
}