Emmanuel Garcia
0052566c7e
Show custom error message when Kotlin or Gradle bump is required ( #102421 )
2022-05-19 14:38:13 -07:00
Jonah Williams
2ad7ced916
[flutter_tools] pass --enable-impeller to android ( #104014 )
2022-05-17 15:52:09 -07:00
Jason Simmons
275fb0286c
Fix avoid_redundant_argument_values analyzer warnings enabled in the latest Dart SDK ( #103734 )
...
See https://github.com/flutter/flutter/pull/103719
2022-05-13 12:57:59 -07:00
Jenn Magder
c6ced845e3
Remove custom unawaited
, prefer dart:async
version ( #103212 )
2022-05-07 08:49:04 -07:00
Alexandre Ardhuin
d40ee2149c
remove unnecessary .toString() ( #103226 )
2022-05-06 16:04:13 -07:00
Phil Quitslund
b5e7fb076c
[flutter_tools] rename local functions with _
s ( #102688 )
2022-04-27 16:19:07 -07:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
Jonah Williams
944fcda67f
[flutter_tools] remove UWP tooling ( #102174 )
2022-04-26 11:19:07 -07:00
Emmanuel Garcia
46cb9ede2f
Reduce Gradle log level in verbose output ( #102422 )
2022-04-25 10:30:40 -07:00
Elsabe Ros
606e91ad63
Use the maven-publish plugin to publish AAR files. ( #101891 )
2022-04-19 16:34:07 -07:00
Lau Ching Jun
c2dc92ca88
Default to the newer version path when checking Android Studio Java path ( #101862 )
2022-04-13 22:49:06 -07:00
Zachary Anderson
6190c5df09
Revert "Use the maven-publish plugin to publish AAR files. ( #101276 )" ( #101827 )
...
This reverts commit 2b0255f0d9
.
2022-04-13 08:12:07 -07:00
Elsabe Ros
2b0255f0d9
Use the maven-publish plugin to publish AAR files. ( #101276 )
2022-04-12 22:19:08 -07:00
Emmanuel Garcia
9e0f0fe9d7
Add Gradle stacktrace and debug log level to verbose builds ( #101734 )
2022-04-11 20:14:08 -07:00
Michael Goderbauer
cae740b903
Enable strict-casts (as replacement for implicit-casts) ( #101567 )
2022-04-08 11:15:34 -07:00
Emmanuel Garcia
b528310f58
Specify Kotlin version in modules and refactor ( #101315 )
2022-04-07 13:20:33 -07:00
Michael Goderbauer
dcde8163ce
migrate to super params ( #100509 )
2022-03-31 11:46:47 -07:00
Gary Qian
ead5b1c2f4
Retire v1 embedding compatibility from automatic multidex support ( #100685 )
2022-03-31 10:24:42 -07:00
Emmanuel Garcia
5c6918933e
Migrate AGP and Gradle versions to 7.1.2/7.4 ( #99723 )
2022-03-30 20:30:09 -07:00
Christopher Fujino
9c138f9c76
[flutter_tools] warn when doctor takes long ( #100805 )
...
* warn when doctor takes long
2022-03-28 14:13:28 -07:00
Tacca
c8538873c8
95533 min sdk error msgs enhancements ( #99550 )
2022-03-08 16:20:21 -08:00
Felix
cd9e30bb5d
[flutter_tools] Fix Typo in tool error message ( #97793 )
...
Fixes a typo mutidex to multidex in a console hint to the user.
2022-03-08 15:24:51 -08:00
Emmanuel Garcia
9cb60c9828
Revert "reads min/target sdk versions from localproperties" ( #99191 )
2022-02-28 11:41:22 -08:00
Tacca
37a1aaf8c1
reads min/target sdk versions from localproperties ( #98450 )
2022-02-24 12:16:15 -08:00
Tomasz Gucio
e4351ff053
Enable use_if_null_to_convert_nulls_to_bools lint ( #98753 )
2022-02-22 14:39:20 -08:00
Emmanuel Garcia
c8266d34f4
Improve Gradle retry logic ( #96554 )
2022-02-18 13:54:41 -08:00
Michael Tamm
1fcb076eb7
[flutter_tools] Fix bundle file not found when flavor contains upperc… ( #92660 )
2022-02-04 11:55:20 -08:00
Swift Kim
91e3a5772f
Remove unused code from android_device.dart ( #95450 )
2022-01-20 14:55:18 -08:00
Emmanuel Garcia
683590d1c6
Add suggestion for compileSdkVersion warning ( #95369 )
2022-01-10 20:30:13 -08:00
Lau Ching Jun
7f0050f5b3
Add a new PrebuiltFlutterApplicationPackage interface. ( #95290 )
...
* Add a new PrebuiltFlutterApplicationPackage interface.
* Review feedback
* Rename bundleDir to uncompressedBundle
2022-01-05 07:54:57 -08:00
Jenn Magder
5432688561
Migrate install command to null safety ( #95433 )
2021-12-22 14:54:10 -08:00
Emmanuel Garcia
1bfb7400c8
Bump Kotlin version to the latest ( #95383 )
2021-12-16 09:19:13 -08:00
Emmanuel Garcia
79bc1bfa89
Add ability to wrap text messages in a box ( #94391 )
2021-12-15 13:19:11 -08:00
Emmanuel Garcia
935d1478aa
Apply the Kotlin plugin in a java project ( #95225 )
2021-12-14 23:04:05 -08:00
Jia Hao
2f80384a7f
[flutter_tools] Remove --enable-background-compilation ( #94012 )
2021-12-13 10:24:08 -08:00
Lau Ching Jun
5cb09e779a
Removed unused method packagesFile
from ApplicationPackage
. ( #95033 )
...
The method name is confusing and the implementation in different
subclasses are pointing to different things.
2021-12-13 06:46:04 -08:00
Jenn Magder
b460d0ee34
Migrate emulators to null safety ( #92738 )
2021-11-18 22:13:06 -08:00
Konoshenko Vlad
ee87f6113e
fix: removed unnecessary checks ( #93735 )
2021-11-16 18:43:05 -08:00
Jenn Magder
9e88fe328e
Remove globals_null_migrated.dart, move into globals.dart ( #92861 )
2021-11-01 17:18:03 -07:00
Jenn Magder
8865212254
Migrate doctor to null safety ( #92131 )
2021-11-01 12:13:02 -07:00
Jenn Magder
0c9a420583
Migrate android_device to null safety ( #92128 )
2021-10-29 17:19:33 -07:00
Emmanuel Garcia
4d79bb02c4
Bump Kotlin version in templates and projects ( #92052 )
2021-10-25 13:13:03 -07:00
Chris Yang
42eb903200
[flutter_tools] iOS: display name defaults to the Title Case of flutter project name. ( #91529 )
2021-10-20 10:33:02 -07:00
Gary Qian
0407aa4480
Reland "Add multidex flag and automatic multidex support ( #90944 )" ( #92049 )
2021-10-19 02:20:39 -07:00
Christopher Fujino
34ec94a16d
[flutter_tools] migrate web_device.dart to null-safety ( #91632 )
2021-10-19 01:33:08 -07:00
Zachary Anderson
a9c31eca48
Revert "Add multidex flag and automatic multidex support ( #90944 )" ( #91791 )
...
This reverts commit 1d9edde079
.
2021-10-13 23:09:50 -07:00
Gary Qian
1d9edde079
Add multidex flag and automatic multidex support ( #90944 )
2021-10-13 17:48:04 -07:00
Ian Hickson
7b01346c5c
Enable no_default_cases lint ( #91530 )
2021-10-11 10:23:04 -07:00
Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint ( #91409 ) ( #91462 )
2021-10-08 09:25:14 -07:00
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
Christopher Fujino
61bce1d83b
[flutter_tools] remove non-null check from AndroidValidator ( #90090 )
2021-09-25 16:53:06 -07:00
Jenn Magder
e6535f6da1
Changed tool cached properties to late finals ( #88923 )
2021-08-26 14:01:05 -07:00
Taha Tesser
d72287522b
[tools] Fix Android Studio duplicate detection ( #88384 )
2021-08-18 02:02:03 -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
Ahmed Ashour
529a599ce6
Fix some indentation ( #84967 )
2021-07-01 13:41:04 -07:00
Filip Hracek
76d5e62f42
Add a more complete app template for Flutter (skeleton) ( #83530 )
2021-06-28 15:26:04 -07:00
Jonah Williams
88e756d19e
[flutter_tools] well known device ids ( #85184 )
2021-06-24 18:46: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
Jenn Magder
e6fe1ed73a
Migrate android application_package to null safety ( #84227 )
2021-06-09 16:09:04 -07:00
Dan Field
febce13a94
Make retry logic more permissive for network errors ( #83965 )
2021-06-03 23:44:03 -07:00
Jenn Magder
c6359dc93f
Remove globals from android application_package ( #83852 )
2021-06-03 18:14:04 -07:00
Jenn Magder
f41fa9dd48
Migrate deferred_components_prebuild_validator to null safety ( #83854 )
2021-06-03 17:54:05 -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
Jenn Magder
6d03cb65cb
Clean up null assumptions for Gradle classes ( #83443 )
2021-05-27 18:54:04 -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
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
nt4f04uNd
80a2b6b015
Fix typos ( #82589 )
2021-05-20 17:19:09 -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
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
Michael Goderbauer
b8a2456737
Enable library_private_types_in_public_api lint ( #81578 )
2021-05-10 16:26:16 -07:00
Alexandre Ardhuin
9bca38c5e5
remove unnecessary String.toString() ( #81859 )
2021-05-07 14:54:02 -07:00
Ian Hickson
33b183e6c9
Fix extra blank lines in logger output ( #81607 )
2021-05-03 09:19:02 -07:00
Jonah Williams
d4e48a1537
[flutter_tools] remove mocks from android emulator tests ( #81548 )
2021-04-30 17:39:03 -07:00
Jenn Magder
ba4177f6da
Find Android Studio installations with Spotlight query on macOS ( #80475 )
2021-04-28 19:09:03 -07:00
Jenn Magder
16c73829a6
Migrate reporting library to null safety ( #80320 )
2021-04-15 17:01:34 -07:00
Jenn Magder
23404dfa74
Remove flutter_command dependency from reporting library ( #80159 )
2021-04-12 16:45:03 -07:00
Jenn Magder
beec6106fa
Migrate template to null safety ( #80016 )
2021-04-08 15:19:03 -07:00
Jenn Magder
026ee9756c
Allow null config values ( #79917 )
2021-04-06 21:52:35 -07:00
Jenn Magder
eb9a2f0ca5
Move cache from globals to globals_null_migrated ( #79900 )
2021-04-06 17:57:40 -07:00
Jenn Magder
f5c268a794
Migrate android_workflow to null safety ( #79806 )
2021-04-06 10:33:52 -07:00
Jenn Magder
30370c9f99
Migrate some workflows and doctor validators to null safety ( #79807 )
2021-04-05 14:00:36 -07:00
Jenn Magder
79f1689f6a
Migrate doctor_validator to null safety ( #79682 )
2021-04-05 11:54:54 -07:00
Jenn Magder
b083bc143d
Migrate android_sdk and application_package to null safety ( #79611 )
2021-04-02 14:39:53 -07:00
Jenn Magder
fb68d07477
Migrate android_studio to null safety ( #79504 )
2021-04-01 20:24:04 -07:00
Jenn Magder
a83abaa3e3
Migrate fingerprint to null safety ( #79587 )
2021-04-01 18:29:51 -07:00
Chris Bracken
3e7e06512c
Correct misspellings throughout the codebase ( #79500 )
2021-04-01 10:04:03 -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
ce31d4ff7e
Migrate android_console to null safety ( #78923 )
2021-03-24 15:18:00 -07:00
Jia Hao
aa1df71c20
[flutter_tools] throwToolExit should return Never ( #78954 )
2021-03-24 10:40:03 -07:00
Jenn Magder
d165ea5c42
Migrate os to null safety ( #78901 )
2021-03-23 17:28:09 -07:00
Jenn Magder
0bde67e734
Migrate flutter_tool tool helper files to null safety ( #78845 )
2021-03-23 10:02:59 -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
Jonah Williams
a01f37245b
[flutter_tools] remove globals from terminal ( #77953 )
2021-03-12 12:53:05 -08:00
Gary Qian
ee41782732
[flutter_tools] Deferred components build system ( #76192 )
2021-03-04 18:09:02 -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
William Oprandi
679b8c2982
Fix Android Studio detection and plugins on Linux ( #75612 )
2021-03-03 08:29:03 -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
Jonah Williams
75470a0051
[flutter_tools] unify gradle/android sdk reinitialize checks in cache.dart ( #76342 )
2021-02-19 13:47:12 -08:00
Jonah Williams
6b14558a68
[flutter_tools] remove global usage of flutterUsage from gradle ( #76330 )
2021-02-18 15:52:00 -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
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
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
Jonah Williams
44d5950d27
[flutter_tools] switch dart defines to base64 to avoid windows control characters ( #75027 )
...
= gets escaped into %3D which seems to be tripping up cmake on windows since % is a control character. Switch to base64 encoding, since this does not have % nor , in the output character set.
This change is not trivially cherry pickable, and isn't tested on windows aside from my local, manual tests due to the planned CI work not being complete yet.
Fixes #75017
Fixes #74705
2021-02-02 09:10:48 -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
Jonah Williams
efcf2c664e
[flutter_tools] check if process manager can find adb ( #74672 )
2021-01-25 14:15:23 -08:00
xster
e0dcb787dc
groovy escaping was wrong for aar ( #72554 )
2021-01-07 11:43:27 -08:00
Jenn Magder
cdacae89e1
Revert "Launch named iOS simulators ( #72323 )" ( #72447 )
...
This reverts commit 84a7a611b0
.
2020-12-16 11:52:59 -08:00
Jenn Magder
84a7a611b0
Launch named iOS simulators ( #72323 )
2020-12-15 15:06:47 -08:00
Kenzie Schmoll
94a30ddcbb
Add text to --analyze-size command output to launch DevTools with size data ( #72295 )
...
* Add text to --analyze-size command output to launch DevTools with size data.
2020-12-15 11:06:10 -08:00
Jason Simmons
2c3ba5b635
Create symlinks for local engine Maven metadata files required by the Android Gradle plugin ( #71600 )
2020-12-03 15:28:06 -08:00
Jonah Williams
81e1f7d1ed
[flutter_tools] mode code size output to ~/.flutter-devtools ( #71601 )
2020-12-02 17:19:57 -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
Jonah Williams
f8883445ca
Revert "[flutter_tools] post process the gradle log output ( #71499 )" ( #71527 )
...
This reverts commit d688b52a93
.
2020-12-01 17:53:14 -08:00
Jonah Williams
d688b52a93
[flutter_tools] post process the gradle log output ( #71499 )
2020-12-01 17:13:33 -08:00
Amir Hardon
7df04fdbd3
Revert "Migrate template to Gradle 6.7 and AGP 4.1.0 ( #70808 )" ( #71096 )
...
This reverts commit 8e73bab94c
.
2020-11-23 12:27:36 -08:00
Emmanuel Garcia
8e73bab94c
Migrate template to Gradle 6.7 and AGP 4.1.0 ( #70808 )
2020-11-20 13:05:35 -08:00
Mokusesei
6269abb75b
Reland: fix android studio 4.1 plugin path for mac ( #69954 )
2020-11-06 10:57:04 -08:00
Jonah Williams
e18533e7ab
[flutter_tools] remove globals from android_workflow ( #69548 )
2020-11-06 10:55:52 -08:00