Skip to content

[Proposal] Reduce warnings in flutter.groovy file  #147122

@AbdeMohlbi

Description

@AbdeMohlbi

Use case

right now (using flutter 3.19.6) when opening the android module in android studio the flutter.groovy file located inside ...\flutter\packages\flutter_tools\gradle\src\main\groovy\flutter.groovy needs some refactoring and cleaning because it has more then 70 warnings right now (some libraries are deprecated,some unused methods ...):
i couldn't upload the code cz github has a limit in the body length so it's here

Proposal

the updated version can be found here
note that i haven't change or delete any function or messed any kind of logic just cleaned a bit and did as same as here to get rid of buildDir deprecation(there is now 31 warnings )

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: proposalA detailed proposal for a change to Flutterplatform-androidAndroid applications specificallyr: invalidIssue is closed as not validt: gradle"flutter build" and "flutter run" on Androidteam-androidOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions