settings.gradle.kts 805 B

1234567891011121314151617181920212223242526
  1. pluginManagement {
  2. val flutterSdkPath = run {
  3. val properties = java.util.Properties()
  4. file("local.properties").inputStream().use { properties.load(it) }
  5. val flutterSdkPath = properties.getProperty("flutter.sdk")
  6. require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
  7. flutterSdkPath
  8. }
  9. includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
  10. repositories {
  11. google()
  12. mavenCentral()
  13. gradlePluginPortal()
  14. maven { url = uri("https://developer.huawei.com/repo/") }
  15. }
  16. }
  17. plugins {
  18. id("dev.flutter.flutter-plugin-loader") version "1.0.0"
  19. id("com.android.application") version "8.7.0" apply false
  20. id("org.jetbrains.kotlin.android") version "1.8.22" apply false
  21. }
  22. include(":app")