settings.gradle.kts 809 B

12345678910111213141516171819202122232425262728
  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. maven {
  12. url = uri("https://jitpack.io")
  13. }
  14. google()
  15. mavenCentral()
  16. gradlePluginPortal()
  17. }
  18. }
  19. plugins {
  20. id("dev.flutter.flutter-plugin-loader") version "1.0.0"
  21. id("com.android.application") version "8.7.0" apply false
  22. id("org.jetbrains.kotlin.android") version "1.8.22" apply false
  23. }
  24. include(":app")