Skip to content

Package ProGuard rules in Android AAR - #219

Open
Mr-KnightCLI wants to merge 1 commit into
uber:masterfrom
Mr-KnightCLI:215-android-proguard-rules
Open

Mr-KnightCLI wants to merge 1 commit into
uber:masterfrom
Mr-KnightCLI:215-android-proguard-rules

Conversation

@Mr-KnightCLI

Copy link
Copy Markdown

Summary

Closes #215 by shipping consumer ProGuard/R8 rules at the root of the Android AAR. The rules preserve the LatLng and H3Exception classes and constructors that the JNI layer looks up by name.

Validation

  • gradle androidAar -x buildH3Android passed, and I verified the generated AAR contains proguard.txt at its root with both keep rules.
  • gradle test could not pass locally because CMake is not installed, so the native H3 library was not built. The native-backed tests consequently failed to load that library; this is an environment limitation, not a passing test run.

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 693

Coverage remained the same at 96.387%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 580
Covered Lines: 567
Line Coverage: 97.76%
Relevant Branches: 195
Covered Branches: 180
Branch Coverage: 92.31%
Branches in Coverage %: Yes
Coverage Strength: 0.98 hits per line

💛 - Coveralls

This branch has not been deployed

No deployments
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.

Proguard rules for Android release builds

3 participants