- 07 Apr, 2020 1 commit
-
-
stuartmorgan authored
Updates Windows and Linux templates to use the new PluginRegistrarManager, improving lifetime handling and reducing boilerplate.
-
- 23 Mar, 2020 1 commit
-
-
stuartmorgan authored
Adds initial support for flutter create of apps and plugins. This is derived from the current FDE example app and sample plugin, adding template values where relevant. Since the APIs/tooling/template aren't stable yet, the app template includes a version marker, which will be updated each time there's a breaking change. The build now checks that the template version matches the version known by that version of the tool, and gives a specific error message when there's a mismatch, which improves over the current breaking change experience of hitting whatever build failure the breaking change causes and having to figure out that the problem is that the runner is out of date. It also adds a warning to the create output about the fact that it won't be stable. Plugins don't currently have a version marker since in practice this is not a significant problem for plugins yet the way it is for runners; we can add it later if that changes. Fixes #30704
-
- 19 Mar, 2020 1 commit
-
-
Michael Thomsen authored
-
- 11 Mar, 2020 1 commit
-
-
Emmanuel Garcia authored
-
- 03 Mar, 2020 1 commit
-
-
stuartmorgan authored
Adds initial support for `flutter create` of apps and plugins. This is derived from the current FDE example app and sample plugin, with a few changes: - Added template values where it makes sense. - Moved some likely-to-change values into separate files for now, to simplify the delete/recreate cycle that will be necessary until it's stable. - Added some minor Makefile flag handling improvements Since the APIs/tooling/template aren't stable yet, the app template includes a version marker, which will be updated each time there's a breaking change. The build now checks that the template version matches the version known by that version of the tool, and gives a specific error message when there's a mismatch, which improves over the current breaking change experience of hitting whatever build failure the breaking change causes and having to figure out that the problem is that the runner is out of date. It also adds a warning to the `create` output about the fact that it won't be stable.
-
- 28 Feb, 2020 1 commit
-
-
stuartmorgan authored
Now that the new schema is supported on the stable channel, and the old schema is considered legacy, the template should always create plugins using the new schema.
-
- 13 Feb, 2020 1 commit
-
-
Dan Field authored
* drop unnecessary test deps * bump to junit 4.13
-
- 10 Feb, 2020 1 commit
-
-
Dan Field authored
-
- 30 Jan, 2020 2 commits
-
-
Greg Spencer authored
This reverts commit 9d4a35ba because it appears to break the gradle_non_android_plugin_test.
-
stuartmorgan authored
Now that the new schema is supported on the stable channel, and the old schema is considered legacy, the template should always create plugins using the new schema.
-
- 26 Jan, 2020 1 commit
-
-
Gonçalo Palma authored
* Change reference to current class when setting the MethodChannel * Added reference to MethodChannel and detach it from the engine
-
- 10 Jan, 2020 1 commit
-
-
Gerrit authored
-
- 09 Nov, 2019 1 commit
-
-
Jenn Magder authored
-
- 06 Nov, 2019 1 commit
-
-
xster authored
-
- 17 Oct, 2019 1 commit
-
-
Emmanuel Garcia authored
* Test the Android embedding v2 * Update integration tests * Split into shards
-
- 04 Oct, 2019 2 commits
-
-
Emmanuel Garcia authored
* Generate projects using the new Android embedding * Add comment about usesNewEmbedding:true * Feedback * Rework way to detect new embedding in new apps
-
Jenn Magder authored
-
- 20 Sep, 2019 1 commit
-
-
stuartmorgan authored
Adds macOS support for `flutter create`: - Currently it is behind a hidden flag. - Adds a TargetPlatform workaround to lib/main.dart in the standard app template when enabled. - Supports `app` and `plugin`; `module` support doesn't yet exist for macOS in general. This will eliminate the need to use FDE's examples as templates on macOS. The templates are based on the current state of FDE's examples, with templating support added (and with adoption of the new application delegate in the app, which hadn't been done yet in FDE, eliminating some boilerplate from the template). Fixes #30703
-
- 14 Sep, 2019 2 commits
-
-
Emmanuel Garcia authored
-
Emmanuel Garcia authored
-
- 26 Aug, 2019 1 commit
-
-
Collin Jackson authored
* Fix plugin template * Add test of plugin template working
-
- 06 Aug, 2019 1 commit
-
-
walsha2 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 } }
-
- 01 Jun, 2019 1 commit
-
-
Josh Burton authored
-
- 14 May, 2019 1 commit
-
-
Kate Lovett authored
* Updating dart.dev related links * Update packages/flutter_tools/lib/src/base/context.dart
-
- 05 Apr, 2019 1 commit
-
-
Tim Sneath authored
-
- 12 Feb, 2019 1 commit
-
-
TruongSinh Tran-Nguyen authored
-
- 24 Jan, 2019 2 commits
-
-
Jason Simmons authored
This reverts commit 30f33d6c.
-
Jason Simmons authored
Fixes https://github.com/flutter/flutter/issues/26544
-
- 15 Jan, 2019 1 commit
-
-
Jason Simmons authored
Fixes https://github.com/flutter/flutter/issues/25703
-
- 09 Jan, 2019 1 commit
-
-
jxltom authored
* Remove *.lock from gitignore * Remove pubspec.lock from gitignore
-
- 08 Jan, 2019 1 commit
-
-
Devon Carew authored
-
- 28 Nov, 2018 1 commit
-
-
Tim Sneath authored
We hypothesize that many first-time users creating a new project will look at the README.md as a starting point for "what next". As we've updated our documentation particularly for new users, having better links to our codelabs and cookbooks will help them be productive.
-
- 14 Nov, 2018 1 commit
-
-
stevemessick authored
* Update IntelliJ project template files * Add ignored file * Fix test * Restore comma
-
- 08 Nov, 2018 1 commit
-
-
Dan Field authored
* Document module pubspec * update doc on plugin template * clarify language
-
- 20 Oct, 2018 1 commit
-
-
Stanislav Baranov authored
-
- 18 Oct, 2018 2 commits
-
-
Sebastian Roth authored