Open MrHadiSatrio opened 1 month ago
Thanks for the review, @ViktorPetrovski.
Unfortunately, CI seems to fail with a reason unrelated to this changeset. I made an attempt to fix that through #169.
Accidentally deleted this branch on my fork, my bad. Reopening the PR.
What has changed
Ruler now supports verification of AAB download and install sizes against user-defined thresholds. This new feature allows developers to ensure their app bundles meet size requirements before deployment. Example configuration:
If the AAB exceeds either threshold during the
analyze<Variant>Bundle
task, Ruler will throw aVerificationException
:Why was it changed
If an end user requires such functionality, they would currently have to either implement a processor for Ruler's output files or depend on other tools (e.g.,
apkanalyzer
). Having this built into Ruler would help centralize that logic, thus reducing potential duplication.