- 01 Aug, 2019 1 commit
-
-
Jonah Williams authored
-
- 24 Jul, 2019 1 commit
-
-
Ian Hickson authored
-
- 23 Jul, 2019 3 commits
-
-
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 } }
-
Emmanuel Garcia authored
This reverts commit 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 } }
-
- 14 May, 2019 1 commit
-
-
Zachary Anderson authored
-
- 30 Apr, 2019 1 commit
-
-
Jonah Williams authored
-
- 17 Apr, 2019 1 commit
-
-
Jonah Williams authored
-
- 15 Feb, 2019 1 commit
-
-
Jonah Williams authored
-
- 13 Feb, 2019 2 commits
-
-
Jonah Williams authored
This reverts commit 76061c4f.
-
Jonah Williams authored
-
- 08 Feb, 2019 2 commits
-
-
Jonah Williams authored
This reverts commit 98971f3c.
-
Jonah Williams authored
-
- 25 Jan, 2019 2 commits
-
-
Gary Qian authored
- 19 Jan, 2019 1 commit
-
-
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.
-
- 21 Dec, 2018 1 commit
-
-
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
-
- 05 Oct, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 04 Sep, 2018 1 commit
-
-
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.
-
- 18 Aug, 2018 1 commit
-
-
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
-
- 05 Jun, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 12 Apr, 2018 1 commit
-
-
Sarah Zakarias authored
-
- 30 Nov, 2017 1 commit
-
-
Alexander Aprelev authored
-
- 19 Oct, 2017 1 commit
-
-
Michael Goderbauer authored
* Make clean command top level Fixes https://github.com/flutter/flutter/issues/10783 * remove backwards
-
- 26 Sep, 2017 1 commit
-
-
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).
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
-
- 23 Feb, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 13 Feb, 2017 1 commit
-
-
Todd Volkert authored
-
- 10 Jan, 2017 1 commit
-
-
Todd Volkert authored
-
- 09 Jan, 2017 1 commit
-
-
Todd Volkert authored
This ensures that accidental usages of dart:io's file API don't creep in over time.
-
- 07 Jan, 2017 1 commit
-
-
Todd Volkert authored
This removes direct file access from within flutter_tools in favor of using `package:file` via a `FileSystem` that's accessed via the `ApplicationContext`. This lays the groundwork for us to be able to easily swap out the underlying file system when running Flutter tools, which will be used to provide a record/replay file system, analogous to what we have for process invocations.
-
- 14 Nov, 2016 2 commits
-
-
Dan Rubel authored
* Remove the workaround that pinned args to v0.13.6 This reverts most of the changes in commit 6331b6c8 * throw exception if exit code is not an integer * rework command infrastructure to throw ToolExit when non-zero exitCode * convert commands to return Future<Null> * cleanup remaining commands to use throwToolExit for non-zero exit code * remove isUnusual exception message * add type annotations for updated args package
-
Dan Rubel authored
* convert pubGet to throw ToolExit on non-zero exit code * convert commandValidator to throw ToolExit for non-zero exit code * convert flutter commands to throw ToolExit for non-zero exit code * use convenience method throwToolExit * only show "if this problem persists" for unusual exceptions
-
- 01 Oct, 2016 1 commit
-
-
P.Y. Laligand authored
-
- 30 Sep, 2016 1 commit
-
-
P.Y. Laligand authored
-
- 22 Sep, 2016 1 commit
-
-
Dan Rubel authored
* show hidden flags when showing verbose help * flutter -v show verbose help
-
- 16 Sep, 2016 1 commit
-
-
Dan Rubel authored
* refactor _run to runCmd * replace requiresProjectRoot getter with call to commandValidator * replace requiresDevice getter with call to findTargetDevice * trace command requires a debug connection, not a device * inline androidOnly getter * rename command methods to verifyTheRunCmd and runCmd * move common verification into BuildSubCommand * rename deviceForCommand to device * rename methods to verifyThenRunCommand and runCommand
-
- 25 Aug, 2016 1 commit
-
-
Chris Bracken authored
This change adds a top-level getBuildDirectory func and funcs for android, aot, asset, ios build products. Developers may now add a "build-dir" mapping to their ~/.flutter_settings (JSON format) config file. Output directory is relative to the main flutter application directory. This change also changes the default build directory for iOS builds to a subdirectory of the configured build directory, 'build/ios' by default.
-
- 21 Jul, 2016 1 commit
-
-
Yegor authored
-