Skip to content

Support the new Variant API in AGP 7.0+ #2849

Open
@yogurtearl

Description

@yogurtearl

What feature would you like to see?

Currently, App Distribution gradle plugin provides the AppDistributionExtension extension on buildType and productFlavor

Feature request:

In the new Variant API in AGP 7.0+ plugins need to register their extensions using AndroidComponentsExtension.registerExtension

AppDistributionExtension needs to implement VariantExtension

Then it needs something like

   androidComponents {
         registerExtension(...
    }

See this example code.

How would you use it?

Would configure App Distribution using the new AGP variant API.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions