Commit Graph

330 Commits

Author SHA1 Message Date
Michael Goderbauer
3fa355c97d Remove dead code in tools tests (#104567) 2022-05-25 12:48:17 -07:00
Jenn Magder
a56c5e51ae Migrate some test files to null safety (#104469) 2022-05-24 16:53:08 -07:00
Chris Sells
4c66e304d1 fixes 103234 to enable debugging Flutter apps on VR headset (#104135) 2022-05-20 21:58:09 -07:00
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
Alexandre Ardhuin
07f1c20474 add missing trailing commas in list/set/map literals (#102585) 2022-04-27 09:15:35 +02: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
Emmanuel Garcia
b528310f58 Specify Kotlin version in modules and refactor (#101315) 2022-04-07 13:20:33 -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
Tacca
c8538873c8 95533 min sdk error msgs enhancements (#99550) 2022-03-08 16:20:21 -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
Emmanuel Garcia
c8266d34f4 Improve Gradle retry logic (#96554) 2022-02-18 13:54:41 -08:00
Ben Konyi
2a2f973120 Update flutter_tools to look for new VM service message (#97683)
* Update flutter_tools to look for new VM service message

The Dart SDK will soon move away from the current Observatory message:

"Observatory listening on ..."

To a new message that no longer references Observatory:

"Dart VM Service listening on ..."

This change updates all tests with mocks to check for the new message
and also adds support for the new message in ProtocolDiscovery.

See https://github.com/dart-lang/sdk/issues/46756

* Fix some parsing locations

* Fix analysis failures

* Update message

* Remove extra comment

* Update message

* Add globals prefix
2022-02-15 07:33:57 -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
Lau Ching Jun
d7688ca093 Change all instance of throwing strings to throw specific error classes. (#97325) 2022-02-02 10:45: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
Emmanuel Garcia
79bc1bfa89 Add ability to wrap text messages in a box (#94391) 2021-12-15 13:19:11 -08:00
Jia Hao
2f80384a7f [flutter_tools] Remove --enable-background-compilation (#94012) 2021-12-13 10:24:08 -08:00
Jenn Magder
b460d0ee34 Migrate emulators to null safety (#92738) 2021-11-18 22:13:06 -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
Gary Qian
0407aa4480 Reland "Add multidex flag and automatic multidex support (#90944)" (#92049) 2021-10-19 02:20:39 -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
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
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