-
Notifications
You must be signed in to change notification settings - Fork 62
Adds support to build as an Android module #184
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
Conversation
gpolak
commented
Sep 18, 2025
- builds as an Android module
- generates the aar, sources, and pom
- publishes to com/uber/h3-android
- currently only supports publishing to mavenLocal
Pull Request Test Coverage Report for Build #554Details
💛 - Coveralls |
|
What commands did you use to build the aar? From my local testing you need to build the regular jar first, in order for the native artifacts to get generated? |
|
Here are the commands I used to test the build: The AAR is then in my local repo: I was then able to use the local artifact in my test Android app, although I did find that |
|
For publishing, I assume we'd publish to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also add some build instructions to README or to the dev docs
|
|
||
| ## Unreleased Changes | ||
| ### Changed | ||
| - Added option to build and publish as an Android module into h3-android |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - Added option to build and publish as an Android module into h3-android | |
| - Added option to build and publish as an Android module into h3-android. (#184) |
| manifestFile.text = '''<?xml version="1.0" encoding="utf-8"?> | ||
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
| package="com.uber.h3core"> | ||
| <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="34" /> | ||
| </manifest>''' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would keep this as some kind of resource file in the Git tree but that's really a nit considering it's small
Hi @isaacbrodsky , yeah, that was my thought process: land this with local-only, then add maven publishing after. Assuming that this will get published to |