settings.gradle 1008 B

1234567891011121314151617181920212223242526272829303132
  1. package plugin_wechat_camera_picker.example.android
  2. // Copyright 2014 The Flutter Authors. All rights reserved.
  3. // Use of this source code is governed by a BSD-style license that can be
  4. // found in the LICENSE file.
  5. pluginManagement {
  6. def flutterSdkPath = {
  7. def properties = new Properties()
  8. file("local.properties").withInputStream { properties.load(it) }
  9. def flutterSdkPath = properties.getProperty("flutter.sdk")
  10. assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
  11. return flutterSdkPath
  12. }
  13. settings.ext.flutterSdkPath = flutterSdkPath()
  14. includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
  15. repositories {
  16. google()
  17. mavenCentral()
  18. gradlePluginPortal()
  19. }
  20. }
  21. plugins {
  22. id "dev.flutter.flutter-plugin-loader" version "1.0.0"
  23. id "com.android.application" version "8.2.2" apply false
  24. id "org.jetbrains.kotlin.android" version "1.9.20" apply false
  25. }
  26. include ":app"