A benchmark test case for measuring scroll smoothness (#61998)

This commit is contained in:
Ming Lyu (CareF)
2020-08-29 07:28:03 -04:00
committed by GitHub
parent 1d7838a8f0
commit 12b7355da1
9 changed files with 397 additions and 3 deletions

View File

@@ -3,3 +3,13 @@
// 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"