Skip to content

Remove Gradle afterEvaluate block to include lifecycle dependencies #42348

Closed
@mklim

Description

@mklim

As part of migrating the plugins, we've needed to add in a Gradle afterEvaluate block that includes some extra libraries in cases where we're on older versions of Flutter and they're not exposed by the engine: https://gist.github.com/blasten/78e97b1d97a736d7e8dcc3f520cea3f0.

We've chosen to do this instead of including them in just plain old dependencies because plugins really shouldn't be specifying these dependencies themselves. We're only including them at all to prevent compile failures on older Flutter versions.

Once the missing dependency fix rolls to Flutter stable we should remove them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: existing-appsIntegration with existing apps via the add-to-app flowc: contributor-productivityTeam-specific productivity, code health, technical debt.packageflutter/packages repository. See also p: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions