settings.gradle 462 B

1234567891011
  1. include ':app'
  2. def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
  3. def properties = new Properties()
  4. assert localPropertiesFile.exists()
  5. localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
  6. def flutterSdkPath = properties.getProperty("flutter.sdk")
  7. assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
  8. apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"