mirror of
https://github.com/flutter/flutter
synced 2024-10-13 03:32:55 +00:00
2d437f51c3
Adds an initial integration test that: 1. captures laid-out widget size 2. focuses a text field to show the keyboard and resize the view 3. unfocuses the text field to dismiss the keyboard and resize the view 4. verify that the final widget size matches the initial size
16 lines
480 B
Groovy
16 lines
480 B
Groovy
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
|
|
}
|