Skip to content

Add proguard-shield - #338

Merged
fornewid merged 2 commits into
developfrom
proguard-shield
Sep 27, 2026
Merged

fornewid merged 2 commits into
developfrom
proguard-shield

Conversation

@fornewid

@fornewid fornewid commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

Detect unintended changes to the merged ProGuard/R8 rules of the release APK, as manifestShield does for the merged manifest.

  • Apply io.github.fornewid.proguard-shield 0.0.3 to :app with configuration("release")
  • Track only the fast-path baseline app/proguardShield/releaseFastRules.txt (the accurate releaseRules.txt is not committed)
  • Run ./gradlew proguardShieldFast in CI and check.sh (the fast path, which doesn't run R8)

Parity holds on AGP 8.13.2: proguardShieldVerifyParity confirmed the fast baseline is byte-identical to R8's -printconfiguration output.

If a rule change is intended, re-baseline with ./gradlew proguardShieldFastBaseline.

fornewid and others added 2 commits September 27, 2026 18:56
CI and check.sh run proguardShieldFast only, so drop the accurate
releaseRules.txt baseline and re-baseline with proguardShieldFastBaseline,
which doesn't run R8 or regenerate releaseRules.txt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Upxj1FvQeDpycupKdPQHUZ
@fornewid
fornewid merged commit a3b845e into develop Sep 27, 2026
1 check passed
@fornewid
fornewid deleted the proguard-shield branch September 27, 2026 14:55
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.

1 participant