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.

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

1 participant