settings.gradle (967B)
1 pluginManagement { 2 def flutterSdkPath = { 3 def properties = new Properties() 4 file("local.properties").withInputStream { properties.load(it) } 5 def flutterSdkPath = properties.getProperty("flutter.sdk") 6 assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 7 return flutterSdkPath 8 } 9 settings.ext.flutterSdkPath = flutterSdkPath() 10 11 includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle") 12 13 repositories { 14 google() 15 mavenCentral() 16 gradlePluginPortal() 17 } 18 19 plugins { 20 id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false 21 } 22 } 23 24 plugins { 25 id "dev.flutter.flutter-plugin-loader" version "1.0.0" 26 id "com.android.application" version "7.3.0" apply false 27 // START: FlutterFire Configuration 28 id "com.google.gms.google-services" version "4.3.15" apply false 29 // END: FlutterFire Configuration 30 } 31 32 include ":app"