Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Add compatibility with AGP 4.0.1 and 4.0.2 and optimize some code #39

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

yuruiyin
Copy link

In order to get signingConfig

  • in AGP3.2+, use VariantScope.getVariantConfiguration.getSigningConfig

  • in AGP4.0+, use VariantScope.getVariantDslInfo.getSigningConfig

And we don't need getBuildTypes, so we can remove getBuildTypesForAGPBefore4008() and getBuildTypesForAGP4009().

And I have verified in AGP3.5.0 ,AGP 4.0.0, AGP4.0.1, AGP4.0.2.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant