Skip to content

Support AGP 3.6+ in the iid compatibility check. #1409

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

Merged
merged 2 commits into from
Apr 1, 2020
Merged

Conversation

vkryachko
Copy link
Member

AGP 3.6 introduced a breaking change to lint-api making the check fail.
The change switch to use reflection to support both versions of the api.

Additionally the change makes the check failures more developer friendly
to make sure this check does not cause failures in upcoming AGP
versions.

Versions tested: 3.2 through 4.1.0-alpha04

Fixes #1407

AGP 3.6 introduced a breaking change to lint-api making the check fail.
The change switch to use reflection to support both versions of the api.

Additionally the change makes the check failures more developer friendly
to make sure this check does not cause failures in upcoming AGP
versions.

Versions tested: 3.2 through 4.1.0-alpha04

Fixes #1407
@googlebot googlebot added the cla: yes Override cla label Apr 1, 2020
@vkryachko vkryachko requested review from ankitaj224 and andirayo and removed request for ankitaj224 April 1, 2020 14:10
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 1, 2020

Coverage Report

Affected SDKs

SDKTypeBase (a0f5886)Head (e59fa49)Diff
Metric Unit: percentage

Test Logs

Notes

HTML coverage reports can be produced locally with ./gradlew <product>:checkCoverage. Report files are located at <product-build-dir>/reports/jacoco/.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 1, 2020

Binary Size Report

Affected SDKs

SDKTypeBase (a0f5886)Head (e59fa49)Diff
firebase-inappmessagingapk (aggressive)851349.00851348.00-1.00 (-0.00%)
protolite-well-known-typesapk (aggressive)122381.00122371.00-10.00 (-0.01%)
firebase-storageapk (aggressive)325639.00325624.00-15.00 (-0.00%)
firebase-crashlytics-ndkapk (aggressive)1171149.001171159.00+10.00 (+0.00%)
firebase-installationsaar55081.0056403.00+1322.00 (+2.40%)
apk (aggressive)84602.0084587.00-15.00 (-0.02%)
firebase-dynamic-linksapk (aggressive)327448.00327465.00+17.00 (+0.01%)
firebase-installations-interopapk (aggressive)61703.0061720.00+17.00 (+0.03%)
firebase-configapk (aggressive)395838.00395831.00-7.00 (-0.00%)
firebase-inappmessaging-displayapk (aggressive)1813473.001813466.00-7.00 (-0.00%)
firebase-functionsapk (aggressive)393476.00393470.00-6.00 (-0.00%)
baseapk (aggressive)10665.0010682.00+17.00 (+0.16%)
Metric Unit: byte

Test Logs

Copy link
Contributor

@ankitaj224 ankitaj224 left a comment

Choose a reason for hiding this comment

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

Thanks Vlad.

@vkryachko vkryachko merged commit d0c06ca into master Apr 1, 2020
@vkryachko vkryachko deleted the vk.lint_fix branch April 21, 2020 15:28
@firebase firebase locked and limited conversation to collaborators May 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Override cla size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrading Firebase dependencies release reveals the following lint error: NoSuchMethodError:IncompatibleIidVersionDetector.beforeCheckEachProject
6 participants