Skip to content

Migrate Anvil away from AGP's legacy variant API #1135

Description

@hungvietnguyen

In AGP 9.0 (canaries coming soon), access to the old variant API will be disabled by default (AGP roadmap), so it would be great to migrate Anvil away from the legacy variant API.

Related bug in KGP: https://youtrack.jetbrains.com/issue/KT-77300/

Using the legacy variant API not only will break users in AGP 9.0, but currently it already breaks users who are using test fixtures (ZacSweers#89).

For an inspiration to get started, please see google/ksp#2250 where some progress has been made to migrate KSP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions