feat: add build-android-sdk skill for cross-compiling UniFFI#860
feat: add build-android-sdk skill for cross-compiling UniFFI#860SaintPatrck wants to merge 1 commit intomainfrom
Conversation
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
|
Great job! No new security vulnerabilities introduced in this pull request |
🔍 SDK Breaking Change Detection ResultsSDK Version:
Breaking change detection completed. View SDK workflow |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #860 +/- ##
==========================================
+ Coverage 82.74% 82.76% +0.01%
==========================================
Files 353 353
Lines 42135 42203 +68
==========================================
+ Hits 34864 34928 +64
- Misses 7271 7275 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
This script seems to be duplicating a lot of the content from the two scripts we have in:
crates/bitwarden-uniffi/kotlin/build-schemas.shcrates/bitwarden-uniffi/kotlin/publish-local.sh
Would it be better to just let this script call them? I'm worried about them getting out of sync otherwise.
There was a problem hiding this comment.
Absolutely. I completely overlooked those. Thanks for pointing them out.
Add a Claude Code skill (/build-android-sdk) that wraps the existing publish-local.sh and build-schemas.sh scripts. The skill handles prerequisite verification, invokes the build, and offers to configure localSdk=true in the user's Android project afterward.
af7d464 to
1cc9d56
Compare
|




🎟️ Tracking
N/A — Developer tooling improvement.
📔 Objective
Adds a Claude Code skill (
/build-android-sdk) that automates the full Android SDK build pipeline:scripts/build.sh) handles all deterministic build steps: prerequisitechecks (Docker,
cross,local.properties), cross-compilation for up to 3 Android ABIs(
arm64-v8a,armeabi-v7a,x86_64), native library copying, Kotlin binding generationvia
uniffi-bindgen, and AAR publication to local Maven (~/.m2/repository).SKILL.md) provides the Claude Code integration — invokes the scriptwith user-provided ABI arguments and handles the interactive post-build prompt for
configuring
localSdk=truein the Android project.com.bitwarden:sdk-android:LOCALto match the Android app's dependencysubstitution.
🚨 Breaking Changes
None — this is a new developer tool with no impact on the SDK or client interfaces.