Add basic codegen app to be used for integration testing and benchmarks (#27257)

This commit is contained in:
Jonah Williams
2019-02-14 23:17:16 -08:00
committed by GitHub
parent 3205736fcf
commit 67cf21577f
47 changed files with 1027 additions and 189 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.withInputStream { stream -> plugins.load(stream) }
}
plugins.each { name, path ->
def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
include ":$name"
project(":$name").projectDir = pluginDirectory
}