Skip to content

Make OSS licenses plugin safe to any application order#321

Merged
VinayGuthal merged 5 commits into
google:mainfrom
liutikas:outputs4
Aug 15, 2025
Merged

Make OSS licenses plugin safe to any application order#321
VinayGuthal merged 5 commits into
google:mainfrom
liutikas:outputs4

Conversation

@liutikas

@liutikas liutikas commented Aug 8, 2025

Copy link
Copy Markdown
Collaborator

Prior to this change there was an implicit order of application of
plugins with com.android.application having to be applied before
com.google.android.gms.oss-licenses-plugin. This change makes licenses
plugin apply all of the logic despite the order of application.

davidmotson
davidmotson previously approved these changes Aug 9, 2025
Delete the entire directory instead of individual files.
This is in prepration to moving LicensesTask to a single output
directory to make it compatible with the new AGP variants API.
This is in preparation to use the new AGP variants API to register
resource creation.
The old API is getting removed with AGP 9.0.0.

This bumps the minimum required version of AGP to 8.2 and moves
to the new variants API.
Prior to this change there was an implicit order of application of
plugins with com.android.application having to be applied before
com.google.android.gms.oss-licenses-plugin. This change makes licenses
plugin apply all of the logic despite the order of application.
@VinayGuthal VinayGuthal merged commit b02f588 into google:main Aug 15, 2025
4 checks passed
@liutikas liutikas deleted the outputs4 branch September 6, 2025 01:20

@Skl5gtrdd4 Skl5gtrdd4 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

S

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants