Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AGP 7.2 support #464

Merged
merged 2 commits into from
May 19, 2022
Merged

AGP 7.2 support #464

merged 2 commits into from
May 19, 2022

Conversation

lemnik
Copy link
Contributor

@lemnik lemnik commented May 19, 2022

Goal

Basic support for Android Gradle Plugin 7.2.

Design

ExternalNativeBuildTask.soFolder and objFolder return File in AGP 7.0 and DirectoryProperty in 7.2. To work around this we now use reflection on these properties and handle either case based on the returned value.

This PR also includes a change to the test fixture, using sed to alter the gradle-wrapper.properties avoiding versioning problems with the gradle wrapper task (which can have conflicts between the Gradle version and AGP version intended to be tested).

Testing

New test pipeline for AGP 7.2 using existing fixtures.

@lemnik lemnik requested review from Cawllec and kattrali May 19, 2022 08:23
@lemnik lemnik force-pushed the PLAT-8460/agp-7.2-support branch from a58e24b to 8912898 Compare May 19, 2022 08:51
@lemnik lemnik requested a review from kattrali May 19, 2022 09:11
@lemnik lemnik merged commit d75bc1a into master May 19, 2022
@lemnik lemnik deleted the PLAT-8460/agp-7.2-support branch May 19, 2022 10:48
@lemnik lemnik mentioned this pull request May 24, 2022
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.

None yet

2 participants