flutter/packages/flutter_tools/test
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
..
commands.shard [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
data Bump lower Dart SDK constraints to 3.0 & add class modifiers (#122546) 2023-03-21 20:21:58 +00:00
general.shard [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
host_cross_arch.shard flutter-tool: enum cleanup (#124760) 2023-04-14 01:55:05 +00:00
integration.shard Adding printOnFailure for result of process (#125910) 2023-05-03 14:50:10 +00:00
src [tools] fix expect calls in FakeCommand (#125783) 2023-05-01 18:21:36 +00:00
web.shard Add vmservice for android build options (#123034) 2023-04-18 18:16:09 +00:00