| 1 | pluginManagement { |
| 2 | val flutterSdkPath = run { |
| 3 | val properties = java.util.Properties() |
| 4 | file("local.properties").inputStream(). |
| 5 | val flutterSdkPath = properties.getProperty("flutter.sdk" |
| 6 | require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" |
| 7 | 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.7.3" apply false |
| 22 | id("org.jetbrains.kotlin.android") version "2.1.0" apply false |
| 23 | } |
| 24 | |
| 25 | include(":app") |