Repository navigation
Migrate existing android/settings.gradle to the new file. #54566
Description
Activity
- addeda: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
on Apr 13, 2020 - addedP2Important issues not at the top of the work listImportant issues not at the top of the work list
on May 29, 2020 - addedteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtriaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
on Jul 8, 2023 As migration by the tool is not planned we might need to upgrade it manually by prompting the user: https://github.com/Gustl22/flutter/tree/54566-settings-gradle-migration
It also would make sense to propose upgrading directly to #135392
This issue may is obsolete due to #135392 which covers this case. I doubt someone will implement another migration (than the manual docs), if we also don't plan to do this for more recent versions of
settings.gradle.@reidbaker can this be closed then?
I agree with @Gustl22, writing a migration tool to automatically migrate
.gradlefiles in infeasible since these files basically contain executable code.Such a tool would only work for the most basic apps that didn't edit their Android buildfiles.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Jan 24, 2024
android/settings.gradlewill be changed after #54407 is merged:This could be handled by
flutter migratein #40460.