1
0
mirror of https://github.com/flutter/samples.git synced 2026-04-03 10:13:39 +00:00

Add a new null safety example (#562)

This commit is contained in:
Michael Thomsen
2020-10-22 01:30:02 +02:00
committed by GitHub
parent ced0c568fb
commit 91da9c072f
146 changed files with 3508 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
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"