Jason Simmons
fad5e4cf89
Remove a redundant test case in the flutter_tools create_test ( #89872 )
2021-09-13 13:37:07 -07:00
Jenn Magder
51588ab808
Set plugin template minimum Flutter SDK to 2.5 ( #89695 )
2021-09-09 20:42:03 -07:00
Jason Simmons
a14be9d290
Run the flutter_tools create test in online mode before testing offline mode ( #89779 )
...
Offline pub assumes that the pub cache contains all needed packages. Running
"flutter create" in online mode first will ensure that the pub cache is populated.
Fixes https://github.com/flutter/flutter/issues/89759
2021-09-09 13:31:37 -07:00
Emmanuel Garcia
50b0037803
Remove files that are unnecessary in a plugin ( #89445 )
2021-09-07 11:11:05 -07:00
Sigurd Meldgaard
bce366203a
Stop calling top level pub ( #89032 )
...
* Use `dart __deprecated_pub` instead of `pub` to invoke pub from tools
The top level `pub` commmand has been deprecated and will print
a message. It is however implemented via the __deprecated_pub command
that prints no message.
2021-08-30 10:40:10 -07:00
Zachary Anderson
b4e0472b04
Revert "Use dart pub
instead of pub
to invoke pub from tools ( #88509 )" ( #88792 )
...
This reverts commit 7c24ff2c5b
.
2021-08-24 09:00:22 -07:00
Sigurd Meldgaard
7c24ff2c5b
Use dart pub
instead of pub
to invoke pub from tools ( #88509 )
...
Top level `pub` is being deprecated.
2021-08-24 15:51:08 +02:00
Jenn Magder
9764d861ca
Support flutter create --platform singular flag ( #88076 )
2021-08-12 11:42:04 -07:00
Jenn Magder
9b1ed4639d
Update flutter create templates for Xcode 13 ( #88074 )
2021-08-12 11:37:04 -07:00
Jonah Williams
b549e829e8
[flutter_tools] support trailing args ( #86431 )
2021-07-14 15:51:10 -07:00
Filip Hracek
76d5e62f42
Add a more complete app template for Flutter (skeleton) ( #83530 )
2021-06-28 15:26:04 -07:00
Greg Spencer
88f3811055
Turn on avoid_dynamic_calls lint, except packages/flutter tests, make appropriate changes. ( #84476 )
...
This adds avoid_dynamic_calls to the list of lints, and fixes all instances where it was violated.
Importantly, this lint is NOT turned on for flutter/packages/test, because those changes are happening in another PR: #84478
2021-06-14 14:16:57 -07:00
Aneesh Rao
1850079a5d
Fix typo in test description ( #84189 )
2021-06-10 14:39:04 -07:00
Aneesh Rao
b4148eb599
Add maskable icons to improve lighthouse score ( #83182 )
2021-06-10 13:49:06 -07:00
Jonah Williams
10840352ce
[flutter_tools] switch flutter sdk to dart format ( #84273 )
2021-06-10 07:54:03 -07:00
Alex Melnyk
23d705c30b
Fix typo in create.dart ( #82454 )
2021-06-08 15:58:01 -07:00
Alexandre Ardhuin
34059eec2c
enable lint prefer_interpolation_to_compose_strings ( #83407 )
2021-06-01 11:14:06 -07:00
Jenn Magder
0d79013a81
Move globals.artifacts to globals_null_migrated, update imports ( #83137 )
2021-05-21 18:35:02 -07:00
Christopher Fujino
24c8ace7b3
fix flake ( #82970 )
2021-05-20 15:18:58 -07:00
Hattomo (TomohiroHattori)
08a70e7ac8
Enable avoid_escaping_inner_quotes lint ( #81153 )
2021-05-19 09:54:02 -07:00
Chris Bracken
90d978f8fb
Add windowsIdentifier template parameter ( #82588 )
...
Windows package identifiers are globally unique strings, typically a
GUID. These are required for templates that require a Windows package
name as described in
https://docs.microsoft.com/en-us/windows/win32/appxpkg/appx-portal
Fixes https://github.com/flutter/flutter/issues/82587
2021-05-14 17:48:30 -07:00
Jenn Magder
ea21938ccc
Remove symroot from generated iOS Xcode build settings ( #82576 )
2021-05-14 17:09:04 -07:00
Michael Goderbauer
532a79c857
Integrate package:flutter_lints into templates ( #81417 )
2021-05-10 16:19:04 -07:00
Jonah Williams
b30d97a64c
[flutter_tools] split host artifacts out of Artifacts ( #80876 )
2021-04-22 19:29:02 -07:00
Jenn Magder
a2f67720ef
Migrate test/src/common to null safety ( #79907 )
2021-04-06 22:55:03 -07:00
Sam Rawlins
3e4320847a
Remove "unnecessary" imports in test/commands.shard. ( #78665 )
2021-04-06 11:14:01 -07:00
Michael Thomsen
2cdd51900c
Enable null safety by default in templates ( #78619 )
2021-03-30 10:16:05 +02:00
Marcel Čampa
e85fe60d00
Command flutter create
respects disabled iOS and Android ( #78406 )
2021-03-22 09:53:05 -07:00
Jonah Williams
2584afd7ec
[flutter_tools] scaffolding for Windows UWP template ( #78067 )
2021-03-16 13:43:04 -07:00
Jenn Magder
d6f5767ec8
Remove MockFlutterVersions ( #77962 )
2021-03-11 16:05:05 -08:00
Michael Goderbauer
cb867bbedc
Enable unnecessary_await_in_return lint ( #77434 )
2021-03-05 18:38:15 -08:00
Michael Goderbauer
807bb29888
enable prefer_function_declarations_over_variables lint ( #77398 )
2021-03-05 18:29:04 -08:00
Jenn Magder
2a54bb02aa
Opt into CocoaPods parallel codesigning ( #76833 )
2021-02-26 13:16:03 -08:00
Jonah Williams
2951363dc8
[flutter_tools] switch FakeCache to cache.test and NoopUsage to TestUsage ( #76802 )
2021-02-26 11:13:32 -08:00
Jonah Williams
7088c5ba2a
Update all packages ( #76143 )
2021-02-16 15:29:12 -08:00
Jonah Williams
8df58eb650
[flutter_tools] use a single fake implementation of HttpClient ( #75471 )
2021-02-09 15:32:03 -08:00
Jonah Williams
021311ed8a
Revert "[flutter_tools] move process manager into tool ( #75350 )" ( #75639 )
...
This reverts commit 8b6baae44c
.
2021-02-08 09:21:46 -08:00
Jonah Williams
8b6baae44c
[flutter_tools] move process manager into tool ( #75350 )
...
Our current top crasher is an unclear error when ProcessManager fails to resolve an executable path. To fix this, we'd like to being adjusting the process resolution logic and adding more instrumentation to track failures. In order to begin the process, the ProcessManager has been folded back into the flutter tool
2021-02-04 13:19:11 -08:00
Jenn Magder
bf248fade2
Allow 'flutter create' in dev and example directories ( #74932 )
2021-01-28 15:24:09 -08:00
Darshan Rander
7c22f0d214
Added warning when not enabled platform is selected ( #73205 )
2021-01-28 13:54:04 -08:00
Jonah Williams
74bd7b6f6d
[flutter_tools] opt all flutter tool libraries and tests out of null safety. ( #74832 )
...
* opt out the flutter tool
* oops EOF
* fix import
* Update tool_backend.dart
* Update daemon_client.dart
* fix more
2021-01-27 15:17:53 -08:00
Michael Goderbauer
63267e9016
Make flutter create --smaple null-safe ( #74844 )
2021-01-27 14:44:03 -08:00
Michael Goderbauer
2f7804f41b
Add null safety note to flutter create ( #74265 )
2021-01-19 14:52:43 -08:00
Dan Field
6a32859eb9
Revert integration_test in flutter create template ( #74068 )
...
* Revert "Add integration_test template to create template (#70240 )"
This reverts commit d047d108eb
.
* test
2021-01-15 13:13:46 -08:00
Chris Yang
d447141bac
[flutter_tools] update message for flutter create -t plugin
when no --platforms
specified ( #71962 )
2020-12-10 15:15:55 -08:00
Dan Field
02eab12fd3
Reland "Add integration_test template to create template ( #70240 )" ( #71660 )" ( #71740 )
2020-12-07 13:38:03 -08:00
Kate Lovett
8e05e59c29
Revert "Add integration_test template to create template ( #70240 )" ( #71660 )
...
This reverts commit d047d108eb
.
2020-12-03 09:54:28 -06:00
Dan Field
d047d108eb
Add integration_test template to create template ( #70240 )
2020-12-02 17:08:03 -08:00
Emmanuel Garcia
8dd0de7f58
Relands: Migrate template to Gradle 6.7 and AGP 4.1.0 ( #71446 )
2020-12-01 19:01:09 -08:00
Chris Yang
0a08f8afff
[flutter_tools] Display "no platforms" message based on results when creating plugins project ( #70215 )
2020-12-01 09:53:07 -08:00