settings.gradle 838 B

12345678910111213141516171819202122232425
  1. pluginManagement {
  2. repositories {
  3. google()
  4. mavenCentral()
  5. gradlePluginPortal()
  6. maven {
  7. url "https://nexilis.io/artifactory/ob-in-plugin/"
  8. credentials {
  9. username = "**REPLACE*WITH*YOUR*MAVEN*USERNAME**"
  10. password = "**REPLACE*WITH*YOUR*MAVEN*PASSWORD**"
  11. }
  12. }
  13. }
  14. }
  15. include ':app'
  16. def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
  17. def properties = new Properties()
  18. assert localPropertiesFile.exists()
  19. localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
  20. def flutterSdkPath = properties.getProperty("flutter.sdk")
  21. assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
  22. apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"