Make --androidx flag a noop in flutter create#52340
Conversation
|
Were any of the IDEs configured to pass this flag? |
|
Needs to be updated in plugin_tools first for plugin CI https://github.com/flutter/plugin_tools/blob/3aea345df9220a42b9094e3034591c95eb3fa815/lib/src/create_all_plugins_app_command.dart#L57 |
There's a checkmark that adds --no-androidx |
|
@stevemessick is it possible to remove the |
|
Could we do this in two stages? Allow the arg parser to accept the flag but ignore it for now. Once this gets into stable we can remove the flag. Maybe make hidden, too. Would that work? Otherwise we're going to have to do version checking in the IDE when we build that UI. |
|
@stevemessick sgtm |
Description
Make androidx flag a noop in
flutter create. This means that there won't be a way to create a non-androidx project from flutter create.Related Issues
#39283
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.