settings.gradle 729 B

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