flutter/packages/flutter_tools/test/general.shard/android
gmackall c12488a707
[Reland] Add migrator to upgrade gradle version when conflict with Android Studio bundled Java version is detected (#125836)
This is an attempt to reland https://github.com/flutter/flutter/pull/124085.

Differences from this attempt and the last: 
1. Adds a check for null android studio versions and a test for this case.
2. Wraps the migrate code in a try-catch [per the suggestion here](https://github.com/flutter/flutter/pull/125728/files#r1181747899).

Old PR description:
This PR adds an android project migrator that checks the version of android studio and the version of gradle for conflicts, and upgrades to 7.4 if a conflict is detected. For more detail about the particular conflict, see https://github.com/flutter/flutter/issues/122376.

The PR also upgrades older gradle versions being used in integration testing to 7.4.

Fixes/related to: https://github.com/flutter/flutter/issues/122376 and https://github.com/flutter/flutter/issues/123636
2023-05-03 21:00:06 +00:00
..
adb_log_reader_test.dart Ignore spam from SurfaceSyncer (#123262) 2023-03-23 21:55:39 +00:00
android_device_discovery_test.dart Separate attached and wireless devices (#122615) 2023-03-15 16:35:05 +00:00
android_device_port_forwarder_test.dart add missing trailing commas in list/set/map literals (#102585) 2022-04-27 09:15:35 +02:00
android_device_start_test.dart Revert "[flutter_tools] Remove sound null safety flag (#123031)" (#123280) 2023-03-22 22:53:49 +00:00
android_device_test.dart Make AndroidApk nullable in stopApp. (#113353) 2022-10-13 17:03:57 +00:00
android_emulator_test.dart add missing trailing commas in list/set/map literals (#102585) 2022-04-27 09:15:35 +02:00
android_gradle_builder_test.dart [Reland] Add migrator to upgrade gradle version when conflict with Android Studio bundled Java version is detected (#125836) 2023-05-03 21:00:06 +00:00
android_install_test.dart [tool] Install the corresponding APK in flutter run (#113622) 2022-10-19 02:44:30 +00:00
android_project_migration_test.dart [Reland] Add migrator to upgrade gradle version when conflict with Android Studio bundled Java version is detected (#125836) 2023-05-03 21:00:06 +00:00
android_sdk_test.dart Add vmservice for android build options (#123034) 2023-04-18 18:16:09 +00:00
android_studio_test.dart [tools] Apply Android Studio version detection logic to explicitly configured installation directory (flutter config --android-studio-dir) (#125596) 2023-05-01 07:10:20 +00:00
android_studio_validator_test.dart Use hasNoRemainingExpectations matcher for fake process manager in tool tests (#108649) 2022-07-30 02:02:05 +00:00
android_workflow_test.dart Add vmservice for android build options (#123034) 2023-04-18 18:16:09 +00:00
build_validation_test.dart Migrate more tool unit tests to null safety (#80002) 2021-04-08 15:18:52 -07:00
deferred_components_gen_snapshot_validator_test.dart Revert "Speed up first asset load by encoding asset manifest in binary rather than JSON (#113637)" (#116662) 2022-12-07 17:29:05 +00:00
deferred_components_prebuild_validator_test.dart Fix typos (#121171) 2023-02-23 19:43:21 +00:00
gradle_errors_test.dart add gradle error handler for when the remote ssl host terminates handshake process (#125270) 2023-04-21 21:59:10 +00:00
gradle_find_bundle_test.dart Reland "Upgrade Gradle and AGP versions to 7.5/7.2 and migrate benchmarks+examples" #108472 (#108510) 2022-07-28 19:38:07 -07:00
gradle_test.dart Add Java-Gradle-AGP validation to flutter analyze (#123916) 2023-04-05 14:36:05 -04:00
gradle_utils_test.dart [Reland] Add migrator to upgrade gradle version when conflict with Android Studio bundled Java version is detected (#125836) 2023-05-03 21:00:06 +00:00
multidex_test.dart [flutter_tools] migrate more unit tests to null safety (#106153) 2022-06-17 21:34:27 -07:00
template_test.dart Adding 'is' to list of kotlin reserved keywords (#116299) 2023-01-06 00:10:07 +00:00