blob: 03ae72d135c01f849e6812b36575b62b14fee791 [file] [log] [blame]
Ian Hickson449f4a62019-11-27 15:04:02 -08001// Copyright 2014 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Emmanuel Garciafa5883b2021-05-21 13:04:03 -07005// This file is auto generated.
6// To update all the settings.gradle files in the Flutter repo,
7// See dev/tools/bin/generate_gradle_lockfiles.dart.
8
Alexander Aprelev3badcf52019-06-28 15:14:03 -07009include ':app'
10
Emmanuel Garciafa5883b2021-05-21 13:04:03 -070011enableFeaturePreview('ONE_LOCKFILE_PER_PROJECT')
12
Emmanuel Garcia54dba4c2020-04-12 08:55:03 -070013def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
14def properties = new Properties()
Alexander Aprelev3badcf52019-06-28 15:14:03 -070015
Emmanuel Garcia54dba4c2020-04-12 08:55:03 -070016assert localPropertiesFile.exists()
17localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
Alexander Aprelev3badcf52019-06-28 15:14:03 -070018
Emmanuel Garcia54dba4c2020-04-12 08:55:03 -070019def flutterSdkPath = properties.getProperty("flutter.sdk")
20assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
21apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"