| 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 | |
| 10 | includeBuild("$flutterSdkPath/packages/flutter_tools/gradle") |
| 11 | |
| 12 | repositories { |
| 13 | google() |
| 14 | mavenCentral() |
| 15 | gradlePluginPortal() |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | plugins { |
| 20 | id "dev.flutter.flutter-plugin-loader" version "1.0.0" |
| 21 | id "com.android.application" version "8.9.1" apply false |
| 22 | id "org.jetbrains.kotlin.android" version "2.3.20" apply false |
| 23 | id "com.google.gms.google-services" version "4.3.8" apply false |
| 24 | } |
| 25 | |
| 26 | include ":app" |