settings.gradle 790 B

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