Zachary Anderson
b9d2177da0
Revert "Enable avoid_redundant_argument_values lint ( #91409 )" ( #91461 )
...
This reverts commit 5fd259be24
.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24
Enable avoid_redundant_argument_values lint ( #91409 )
2021-10-07 20:13:02 -07:00
Zachary Anderson
5188df0821
Revert gradle roll ( #91459 )
...
* Revert "Mark last failing test after gradle update as flaky. (#91423 )"
This reverts commit 46a52d03bd
.
* Revert "fix android template for Gradle 7 (#91411 )"
This reverts commit 51d06d537f
.
* Revert "Add explicit version for mac and windows openjdk. (#91408 )"
This reverts commit bf429f2771
.
* Revert "Update the openjdk version used by linux android tests. (#91405 )"
This reverts commit 2144ab8b45
.
* Revert "Migrate to Gradle 7.0.2 / AGP 7.0.1 (#90642 )"
This reverts commit b6459f9b63
.
2021-10-07 19:42:24 -07:00
Taha Tesser
b6459f9b63
Migrate to Gradle 7.0.2 / AGP 7.0.1 ( #90642 )
2021-10-06 17:01:13 -07:00
Ian Hickson
2bab6514b0
Enable avoid_implementing_value_types
lint ( #91078 )
2021-10-04 13:48:04 -07:00
Christopher Fujino
61bce1d83b
[flutter_tools] remove non-null check from AndroidValidator ( #90090 )
2021-09-25 16:53:06 -07:00
Jonah Williams
fa0782b696
reassign jonahwilliams todos ( #88707 )
2021-08-23 12:27:07 -07:00
Taha Tesser
d72287522b
[tools] Fix Android Studio duplicate detection ( #88384 )
2021-08-18 02:02:03 -07:00
Darren Austin
b08366ce7b
Updated skipped tests for flutter_tools. ( #87925 )
...
* Updated skipped tests for flutter_tools.
* Turned the flaky overall_experience test off as it was still failing on CI.
2021-08-10 22:22:08 -07:00
Ahmed Ashour
92e02457d5
Handle reserved Kotlin keywords ( #86518 )
2021-08-02 14:35:05 -07:00
Taha Tesser
f9aa5842c2
[tools] Fix Android Studio Arctic Fox Java path on macOS ( #87267 )
2021-07-29 10:24:07 -07:00
Jenn Magder
2f91679058
Show Android SDK path in doctor on partial installation ( #87232 )
2021-07-28 19:14:02 -07:00
Emmanuel Garcia
e7a9adeeab
Remove AndroidX workarounds ( #86911 )
2021-07-23 17:41:04 -07:00
Taha Tesser
94f71f374f
[flutter_tools] Refactor Android Studio Detection on Windows (support 4.x and 202x releases detection) ( #86624 )
2021-07-20 12:16:03 -07:00
Zachary Anderson
09a38d7a17
Revert "Handle reserved Kotlin keywords ( #84973 )" ( #86512 )
...
This reverts commit a67f618a29
.
2021-07-15 14:43:53 -07:00
Ahmed Ashour
a67f618a29
Handle reserved Kotlin keywords ( #84973 )
2021-07-15 14:26:05 -07:00
Alexandre Ardhuin
80990c21e2
code formatting ( #85783 )
2021-07-07 23:06:05 -07:00
Filip Hracek
76d5e62f42
Add a more complete app template for Flutter (skeleton) ( #83530 )
2021-06-28 15:26:04 -07:00
Jenn Magder
2e5284a26b
Do not list Android or iOS devices when feature disabled ( #85145 )
2021-06-23 15:41:04 -07:00
Dan Field
febce13a94
Make retry logic more permissive for network errors ( #83965 )
2021-06-03 23:44:03 -07:00
Alexandre Ardhuin
32540774c0
enable lint noop_primitive_operations ( #83930 )
2021-06-03 17:34:10 -07:00
Jenn Magder
c4a2a3e92d
Migrate project.dart and all dependencies to null safety ( #83817 )
2021-06-02 18:41:12 -07:00
Anis Alibegić
c99ed373b3
Fixed large amount of spelling errors ( #83744 )
2021-06-02 10:14:06 -07:00
Jason Simmons
59f6cc7ac9
Add a trace-skia-allowlist flag for filtering Skia trace events ( #83507 )
2021-06-01 11:29:03 -07:00
Alexandre Ardhuin
34059eec2c
enable lint prefer_interpolation_to_compose_strings ( #83407 )
2021-06-01 11:14:06 -07:00
Taha Tesser
f9cd87e60a
[flutter_tools] Add documentation to "cmdline-tools component is missing" doctor validation error ( #83356 )
2021-05-26 10:59:02 -07:00
Jenn Magder
a04f45f97b
Migrate deferred_components_gen_snapshot_validator to null safety ( #83311 )
2021-05-25 11:14:03 -07:00
Jonah Williams
0f929f9f13
[flutter_tools] require cmdline-tools for android licenses ( #82560 )
2021-05-22 15:54:03 -07:00
Jenn Magder
0d79013a81
Move globals.artifacts to globals_null_migrated, update imports ( #83137 )
2021-05-21 18:35:02 -07:00
Emmanuel Garcia
8a7f2dee51
Move AndroidX error handler to the end ( #83135 )
2021-05-21 18:29:03 -07:00
Emmanuel Garcia
fa5883b78e
Add Gradle lockfiles and tool to generate them ( #83067 )
2021-05-21 13:04:03 -07:00
Marian Triebe
2d283504e6
Add cold boot option to emulator launch command ( #82647 )
2021-05-19 10:54:04 -07:00
Hattomo (TomohiroHattori)
08a70e7ac8
Enable avoid_escaping_inner_quotes lint ( #81153 )
2021-05-19 09:54:02 -07:00
Lau Ching Jun
2acd0007d6
Refactor CustomDimensions in analytics to be type safe ( #82531 )
2021-05-18 20:29:03 -07:00
Taha Tesser
3c72ef374d
Fix Android Studio 4.2 detection on Windows ( #82484 )
2021-05-13 22:54:04 -07:00
Jonah Williams
0f8a6ab4dd
[flutter_tools] make failures to unforward android port non-fatal ( #82477 )
2021-05-13 21:39:03 -07:00
Emmanuel Garcia
93c87e92b3
[flutter_tool] Suggest fix for transform input ( #82309 )
2021-05-13 21:24:04 -07:00
Emmanuel Garcia
60633b609c
[flutter_tool] Suggest how to increase the Android minSdkVersion ( #82372 )
2021-05-13 11:59:04 -07:00
Alexandre Ardhuin
7d46d43635
use throwsXxx instead of throwsA(isA<Xxx>()) ( #82328 )
2021-05-12 09:59:02 -07:00
Jenn Magder
783e1dd22c
Standardize build system environment defines derived from build info ( #81879 )
2021-05-07 17:04:02 -07:00
Jonah Williams
2b8556b6ac
[flutter_tools] remove last android sdk mock ( #81620 )
2021-05-01 12:59:02 -07:00
Jonah Williams
d4e48a1537
[flutter_tools] remove mocks from android emulator tests ( #81548 )
2021-04-30 17:39:03 -07:00
Jonah Williams
3a0abac742
[flutter_tools] android workflow tests migrate from mockito ( #81545 )
2021-04-30 17:34:04 -07:00
Jenn Magder
ba4177f6da
Find Android Studio installations with Spotlight query on macOS ( #80475 )
2021-04-28 19:09:03 -07:00
Ian Hickson
6beafa7b16
Apply style guide regarding createTempSync pattern ( #81090 )
2021-04-27 14:59:03 -07:00
Jonah Williams
064eae8c38
[flutter_tools] remove mocks and fix fake imports ( #81309 )
2021-04-27 11:51:41 -07:00
Emmanuel Garcia
b0a63c4ffe
Reland the Dart plugin registry ( #79669 )
2021-04-23 15:34:04 -07:00
Jenn Magder
a99fba01f1
Move FakeOperatingSystemUtils from context.dart to fakes.dart ( #80916 )
2021-04-22 10:44:02 -07:00
Phil Quitslund
61c30c41b2
fix sort_directives violations ( #80817 )
2021-04-21 13:49:03 -07:00
Jenn Magder
56c0002c47
Adopt FakeProcessManager.empty ( #80480 )
2021-04-15 14:19:02 -07:00
Jenn Magder
23404dfa74
Remove flutter_command dependency from reporting library ( #80159 )
2021-04-12 16:45:03 -07:00
Jenn Magder
e8cd4827a0
Migrate fake_process_manager to null safety ( #80018 )
2021-04-08 15:19:07 -07:00
Jenn Magder
ec14cef060
Migrate more tool unit tests to null safety ( #80002 )
2021-04-08 15:18:52 -07:00
Sam Rawlins
68492c5b69
Remove "unnecessary" imports. ( #78664 )
2021-04-06 11:19:02 -07:00
Jenn Magder
f5c268a794
Migrate android_workflow to null safety ( #79806 )
2021-04-06 10:33:52 -07:00
Jenn Magder
79f1689f6a
Migrate doctor_validator to null safety ( #79682 )
2021-04-05 11:54:54 -07:00
Jenn Magder
fb68d07477
Migrate android_studio to null safety ( #79504 )
2021-04-01 20:24:04 -07:00
Jenn Magder
152af5aba7
Fix device_port_forwarder file name typo ( #79481 )
2021-03-31 18:14:03 -07:00
Jenn Magder
8ddc27e607
Split globals.dart into null sound and unsound libraries ( #79016 )
2021-03-31 16:55:20 -07:00
Jonah Williams
29207e4f78
[flutter_tools] split application package factory dependencies ( #79461 )
2021-03-31 15:11:58 -07:00
Gurjinder Partola
fed35b4d9c
[flutter_tools] Add support for versioned Android cmdline tools ( #78253 )
2021-03-25 13:42:39 -07:00
Jenn Magder
8893e89d11
Migrate device_port_forwarder to null safety ( #78949 )
2021-03-24 16:56:14 -07:00
Jenn Magder
63d6ec56af
Migrate deferred_components_validator to null safety ( #78934 )
2021-03-24 15:20:05 -07:00
Jenn Magder
d165ea5c42
Migrate os to null safety ( #78901 )
2021-03-23 17:28:09 -07:00
Zachary Anderson
5efc7169eb
Reverts "Implement dartPluginClass support for plugins #74469 " ( #78623 )
...
* Revert "Enable dart_plugin_registry_test (#76645 )"
This reverts commit 109e0bb9f5
.
* Revert "Apply changes caused by https://github.com/flutter/flutter/pull/76662 (#77093 )"
This reverts commit cdca6485f0
.
* Revert "Disable clang format in the plugin registrants (#76662 )"
This reverts commit dadbd47d09
.
* Revert "Disable warnings for the dart plugin registrant (#76561 )"
This reverts commit 098ece522d
.
* Revert "Remove dart_plugin_registry_test timeouts (#76838 )"
This reverts commit 1610a27476
.
* Revert "Implement dartPluginClass support for plugins (#74469 )"
This reverts commit b7d4806243
.
Kick.
2021-03-23 14:28:11 -07:00
Gary Qian
2a8b296ae9
[flutter_tools] Deferred components: Encode base module loading units in manifest metadata ( #78079 )
2021-03-15 15:58:06 -07:00
Gurjinder Partola
2e17a8e676
Fix avdmanager path detection ( #78166 )
2021-03-15 11:18:04 -07:00
Jenn Magder
d018c24bb8
MockProcessUtils->FakeProcessManager in version_test ( #77985 )
2021-03-12 16:38:04 -08:00
Jonah Williams
a01f37245b
[flutter_tools] remove globals from terminal ( #77953 )
2021-03-12 12:53:05 -08:00
Michael Goderbauer
cb867bbedc
Enable unnecessary_await_in_return lint ( #77434 )
2021-03-05 18:38:15 -08:00
Gary Qian
ee41782732
[flutter_tools] Deferred components build system ( #76192 )
2021-03-04 18:09:02 -08:00
Jonah Williams
945e0df104
[flutter_tools] remove several AndroidSdk Mocks ( #77264 )
2021-03-04 12:24:03 -08:00
Jonah Williams
90f353f9b1
[flutter_tools] dont crash when looking for AS4.1 on windows with no LOCALAPPDATA ( #77261 )
2021-03-04 11:29:20 -08:00
Michael Goderbauer
7b251f5f37
Enable use_function_type_syntax_for_parameters lint ( #77163 )
2021-03-04 08:59:17 -08:00
Jonah Williams
05ce6ce511
[flutter_tools] remove mock from android studio test ( #77158 )
2021-03-03 11:04:02 -08:00
William Oprandi
679b8c2982
Fix Android Studio detection and plugins on Linux ( #75612 )
2021-03-03 08:29:03 -08:00
Jonah Williams
72a835fa55
[flutter_tools] remove mocks from android SDK tests ( #76887 )
2021-02-27 11:56:01 -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
Gary Qian
9df362a73f
[flutter_tools] Refactor DeferredComponents validator and add build target ( #76400 )
2021-02-24 17:51:03 -08:00
Jonah Williams
bbaced6d12
[flutter_tools] cache adb path ( #76650 )
2021-02-23 17:26:02 -08:00
Jonah Williams
b678d0adec
[flutter_tools] remove globals and mocks from android gradle builder and test ( #76416 )
2021-02-19 21:07:43 -08:00
Emmanuel Garcia
b7d4806243
Implement dartPluginClass support for plugins ( #74469 )
2021-02-19 09:22:45 -08:00
Jenn Magder
62d8969203
Adopt Artifacts.test(localEngine:) in a few tests ( #76354 )
2021-02-18 19:31:03 -08:00
Jonah Williams
6b14558a68
[flutter_tools] remove global usage of flutterUsage from gradle ( #76330 )
2021-02-18 15:52:00 -08:00
Sam Rawlins
ba58ad0385
Remove "unnecessary" imports in test/general.shard ( #75954 )
2021-02-18 13:38:24 -08:00
Jonah Williams
04182572f7
[flutter_tools] allow bypassing context for FlutterProject creation, remove fromPath ( #76258 )
2021-02-18 12:36:04 -08:00
Gary Qian
ba5cc2cba4
[flutter_tools] Deferred components setup validator ( #75739 )
2021-02-18 12:01:03 -08:00
Jonah Williams
bfcb43d2fc
[flutter_tools] remove local engine from globals in gradle ( #76277 )
2021-02-18 11:30:44 -08:00
Jenn Magder
e5b5e1475c
Adopt FakeProcess, remove MockProcess ( #76276 )
2021-02-18 11:13:26 -08:00
Jonah Williams
555721de24
[flutter_tools] remove mock process manager from gradle tests ( #76252 )
2021-02-17 17:00:12 -08:00
Jonah Williams
93e7d34dc4
[flutter_tools] Remove globals/mocks from GradleUtils ( #76020 )
2021-02-17 14:26:57 -08:00
Jonah Williams
65599e2825
[flutter_tools] use less path manipulation in the Android SDK ( #75930 )
2021-02-16 13:54:44 -08:00
Jonah Williams
dce8f71228
[flutter_tools] do not use context logger in gradle ( #75940 )
2021-02-12 17:38:52 -08:00
Hidenori Matsubayashi
4cc0ab2d19
[flutter_tools] Add ARM64 Linux host and cross-building option support ( #61221 )
2021-02-12 14:25:30 -08:00
Jonah Williams
97a9f2ae93
[flutter_tools] move gradle helper methods into AndroidBuilder class body, split unit tests ( #75931 )
2021-02-12 14:24:13 -08:00
mx1up
cc95c972b7
properly pass on gradle exit code ( #71484 ) ( #71582 )
2021-02-11 14:11:03 -08:00
Jenn Magder
5b823cded8
Remove dead mock classes ( #75757 )
2021-02-10 17:01:28 -08:00
Jenn Magder
88e6d46d5e
MockProcessManager -> FakeProcessManager ( #75544 )
2021-02-09 16:05:30 -08:00
Jenn Magder
152d88a3df
Add exception to FakeCommand ( #75545 )
2021-02-09 10:07:46 -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