settings.gradle 898 B

12345678910111213141516171819202122232425262728293031
  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. plugins {
  17. id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false
  18. id 'org.gradle.toolchains.foojay-resolver-convention' version '0.5.0'
  19. }
  20. }
  21. plugins {
  22. id "dev.flutter.flutter-plugin-loader" version "1.0.0"
  23. id "com.android.application" version "7.3.0" apply false
  24. }
  25. include ":app"