1. 23 Jun, 2020 2 commits
  2. 18 Jun, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] add missing null-safety flags (#59773) · 01e09ea8
      Jonah Williams authored
      Some of the null-safety commands were missing - plumb them through. Ensure that verbose mode shows their output, and clean up the messaging around sound-null-safety.
      
      Fixes #59769
      
      Adds a test that validate each of the null safety supporting build commands has everything plumbed through.
      01e09ea8
  3. 26 Apr, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] quality pass on Linux build (#55556) · dd88b204
      Jonah Williams authored
      - Update the Linux build to support most of the build configuration, though like windows most only make sense for profile/release.
      - Ensure VERBOSE_SCRIPT_LOGGING is set when the logger is verbose
      - Automatically run pub get like other build commands
      dd88b204
  4. 23 Apr, 2020 1 commit
  5. 22 Apr, 2020 1 commit
  6. 10 Apr, 2020 1 commit
  7. 10 Mar, 2020 1 commit
  8. 07 Feb, 2020 1 commit
  9. 27 Jan, 2020 1 commit
  10. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
  11. 21 Nov, 2019 1 commit
  12. 13 Nov, 2019 1 commit
  13. 06 Nov, 2019 1 commit
  14. 01 Aug, 2019 1 commit
  15. 24 Jul, 2019 1 commit
  16. 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
  17. 14 May, 2019 1 commit
  18. 30 Apr, 2019 1 commit
  19. 17 Apr, 2019 1 commit
  20. 15 Feb, 2019 1 commit
  21. 13 Feb, 2019 2 commits
  22. 08 Feb, 2019 2 commits
  23. 25 Jan, 2019 2 commits
  24. 19 Jan, 2019 1 commit
    • Ian Hickson's avatar
      [O] Removing all timeouts (mark II) (#26736) · 31a9626c
      Ian Hickson authored
      These are essentially self-inflicted race conditions. Instead of timeouts we're going to try a more verbose logging mechanism that points out when things are taking a long time.
      31a9626c
  25. 21 Dec, 2018 1 commit
    • Pranay Airan's avatar
      Adding support for android app bundle - Issue #17829 (#24440) · 368cd7da
      Pranay Airan authored
      * adding support for android app bundle.
      
      * removing the debug statement.
      
      * fixing formatting and code review changes.
      
      * Revert "fixing formatting and code review changes."
      
      This reverts commit 2041d459f335242555a0b75e445343134c245494.
      
      * Fixing code formatting issues.
      
      * updating review comments fixing comments and spacing.
      
      * changing and to & to rerun the CI and tests.
      
      * updating the comment to re-run the test
      
      updating the comment to re-run the test
      
      * fixing the formatting.
      
      * updating comments to re-trigger build
      
      updating comments to re-trigger build
      368cd7da
  26. 05 Oct, 2018 1 commit
  27. 12 Sep, 2018 1 commit
  28. 04 Sep, 2018 1 commit
    • Chris Bracken's avatar
      Eliminate --preview-dart-2 flag (#21304) · 041ff621
      Chris Bracken authored
      This patch eliminates the --preview-dart-2/--no-preview-dart-2 flag,
      hardcoding all uses to true. It also defaults all previewDart2 method
      parameters to true, where they hadn't yet been.
      
      A series of subsequent patches will eliminate all previewDart2
      parameters and the associated code from within the codebase.
      041ff621
  29. 18 Aug, 2018 1 commit
    • Ian Hickson's avatar
      Fixes resulting from audit of issues links (#20772) · 8c79f40d
      Ian Hickson authored
      * Fixes resulting from audit of issues links
      
      I looked at every link to GitHub in our repo. For cases where we had a TODO that was waiting for a bug to be fixed, and the bug has now been fixed, I applied the pending change. For cases where the link was out of date, I updated the link.
      
      * Update run_test.dart
      
      skip this test again since it failed on linux and macos bots
      8c79f40d
  30. 05 Jun, 2018 1 commit
  31. 12 Apr, 2018 1 commit
  32. 30 Nov, 2017 1 commit
  33. 19 Oct, 2017 1 commit
  34. 26 Sep, 2017 1 commit
    • Todd Volkert's avatar
      Run command validation on all commands. (#12246) · a08b5e00
      Todd Volkert authored
      This makes command validation happen as part of `verifyThenRunCommand()`,
      using a newly introduced protected method (`validateCommand()`) rather than
      a `commandValidator` property (that subclasses were responsible for manually
      invoking).
      a08b5e00