1. 26 Jul, 2019 1 commit
  2. 23 Jul, 2019 3 commits
    • Emmanuel Garcia's avatar
      Flutter build aar (#36732) · 242a4225
      Emmanuel Garcia authored
      `flutter build aar`
      
      This new build command works just like `flutter build apk` or `flutter build appbundle`, but for plugin and module projects.
      
      This PR also refactors how plugins are included in app or module projects. By building the plugins as AARs, the Android Gradle plugin is able to use Jetifier to translate support libraries into AndroidX libraries for all the plugin's native code. Thus, reducing the error rate when using AndroidX in apps.
      
      This change also allows to build modules as AARs, so developers can take these artifacts and distribute them along with the native host app without the need of the Flutter tool. This is a requirement for add to app.
      
      `flutter build aar` generates POM artifacts (XML files) which contain metadata about the native dependencies used by the plugin. This allows Gradle to resolve dependencies at the app level. The result of this new build command is a single build/outputs/repo, the local repository that contains all the generated AARs and POM files.
      
      In a Flutter app project, this local repo is used by the Flutter Gradle plugin to resolve the plugin dependencies. In add to app case, the developer needs to configure the local repo and the dependency manually in `build.gradle`:
      
      
      repositories {
          maven {
              url "<path-to-flutter-module>build/host/outputs/repo"
          }
      }
      
      dependencies {
          implementation("<package-name>:flutter_<build-mode>:1.0@aar") {
             transitive = true
          }
      }
      242a4225
    • Emmanuel Garcia's avatar
      Revert "Add flutter build aar (#35217)" (#36731) · c9b466f9
      Emmanuel Garcia authored
      This reverts commit 11460b83.
      c9b466f9
    • Emmanuel Garcia's avatar
      Add flutter build aar (#35217) · 11460b83
      Emmanuel Garcia authored
      `flutter build aar`
      
      This new build command works just like `flutter build apk` or `flutter build appbundle`, but for plugin and module projects.
      
      This PR also refactors how plugins are included in app or module projects. By building the plugins as AARs, the Android Gradle plugin is able to use Jetifier to translate support libraries into AndroidX libraries for all the plugin's native code. Thus, reducing the error rate when using AndroidX in apps.
      
      This change also allows to build modules as AARs, so developers can take these artifacts and distribute them along with the native host app without the need of the Flutter tool. This is a requirement for add to app.
      
      `flutter build aar` generates POM artifacts (XML files) which contain metadata about the native dependencies used by the plugin. This allows Gradle to resolve dependencies at the app level. The result of this new build command is a single build/outputs/repo, the local repository that contains all the generated AARs and POM files.
      
      In a Flutter app project, this local repo is used by the Flutter Gradle plugin to resolve the plugin dependencies. In add to app case, the developer needs to configure the local repo and the dependency manually in `build.gradle`:
      
      
      repositories {
          maven {
              url "<path-to-flutter-module>build/host/outputs/repo"
          }
      }
      
      dependencies {
          implementation("<package-name>:flutter_<build-mode>:1.0@aar") {
             transitive = true
          }
      }
      11460b83
  3. 22 Jul, 2019 1 commit
  4. 15 Jul, 2019 1 commit
    • Christopher Fujino's avatar
      Reland bundle ios deps (#36093) · 102ab1e6
      Christopher Fujino authored
      This updates the flutter tool cache to download binary files for ideviceinstaller, ios-deploy, libimobiledevice, and dynamically linked dependencies from Flutter's GCP bucket.
      102ab1e6
  5. 12 Jul, 2019 2 commits
  6. 02 Jul, 2019 1 commit
  7. 27 Jun, 2019 1 commit
  8. 25 Jun, 2019 1 commit
  9. 19 Jun, 2019 1 commit
  10. 18 Jun, 2019 1 commit
  11. 17 Jun, 2019 1 commit
  12. 11 Jun, 2019 1 commit
  13. 07 Jun, 2019 1 commit
  14. 16 May, 2019 1 commit
  15. 19 Apr, 2019 2 commits
  16. 15 Apr, 2019 1 commit
    • liyuqian's avatar
      Fix the warning test by checking stderr (#30997) · b0937a1e
      liyuqian authored
      Previously, I used the Android emulator for testing and everything
      seemed to work fine with stdout (if I remember correctly). But our
      devicelab uses real Android devices and the warnings are routed to
      stderr. Hence change stdout to stderr in the test.
      b0937a1e
  17. 11 Apr, 2019 2 commits
  18. 26 Mar, 2019 1 commit
  19. 22 Mar, 2019 1 commit
  20. 01 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      Add missing trailing commas (#28673) · 387f8854
      Alexandre Ardhuin authored
      * add trailing commas on list/map/parameters
      
      * add trailing commas on Invocation with nb of arg>1
      
      * add commas for widget containing widgets
      
      * add trailing commas if instantiation contains trailing comma
      
      * revert bad change
      387f8854
  21. 21 Feb, 2019 1 commit
  22. 17 Dec, 2018 1 commit
  23. 05 Nov, 2018 1 commit
  24. 17 Oct, 2018 1 commit
  25. 04 Oct, 2018 3 commits
    • Greg Spencer's avatar
      Rename module --> application in flutter create command. (#22565) · 9f23866a
      Greg Spencer authored
      This renames the "module" template to the "application" template, and makes "application" the default. The existing "app" template is now deprecated.
      
      flutter create also now recognizes the type of project in an existing directory, and is able to recreate it without having the template type explicitly specified (although you can still do that). It does this now by first looking in the .metadata file for the new project_type field, and if it doesn't find that, then it looks at the directory structure. Also, the .metadata file is now overwritten even on an existing directory so that 1) the project_type can be added to legacy projects, and 2) the version of Flutter that updated the project last is updated.
      
      I also cleaned up a bunch of things in create_test.dart, added many more tests, and added an example test to the test/ directory in the generated output of the application template.
      
      Fixes #22530
      Fixes #22344
      9f23866a
    • Alexandre Ardhuin's avatar
      d340e2f2
    • Alexandre Ardhuin's avatar
      sort_constructors_first (#22575) · 2ea1d81c
      Alexandre Ardhuin authored
      2ea1d81c
  26. 02 Oct, 2018 1 commit
  27. 01 Oct, 2018 1 commit
  28. 14 Sep, 2018 1 commit
  29. 12 Sep, 2018 1 commit
  30. 28 Aug, 2018 1 commit
  31. 21 Aug, 2018 2 commits
  32. 17 Aug, 2018 1 commit
    • Ian Hickson's avatar
      Performance test cleanup (#20652) · 1993a673
      Ian Hickson authored
      * Fix TODO syntax.
      * Clarify messages for some timeouts, to aid debugging.
      * Increase some other timeouts that were a needlessly short, to reduce sources of flakes.
      * Remove some more timeouts that were mostly redundant, to remove complexity.
      * Minor style cleanup.
      * Remove some dangerous traps (specifically, hide the explicit start/end times in TimedEvent since they shouldn't matter).
      1993a673