Add Android CI, migrate to AndroidX, and add unit tests#90
Add Android CI, migrate to AndroidX, and add unit tests#90google-labs-jules[bot] wants to merge 1 commit intomasterfrom
Conversation
- Added `.github/workflows/android.yml` to build debug APK and run tests. - Upgraded Gradle to 8.5 and AGP to 8.2.0. - Migrated codebase to AndroidX (imports, layouts, dependencies). - Updated target SDK to 34 and added `android:exported` to Manifest. - Replaced missing `material-seekbar-preference` with AndroidX `SeekBarPreference`. - Extracted logic from `TrainSms` to `SmsUtils` and added unit tests in `SmsUtilsTest`. - Fixed duplicate class issues with Guava/ListenableFuture.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR adds a GitHub Action for manual and CI builds, generating a debug APK. It also performs a "deep dive fix" by upgrading the outdated build system (Gradle 8.5, AGP 8.2.0) and migrating the entire project from
android.supportto AndroidX to support modern environments.Key changes:
.github/workflows/android.ymlfor building and testing.SmsUtilsfor better testability and addedSmsUtilsTest.material-seekbar-preferencelibrary by replacing it with standard AndroidX component.AndroidManifest.xmlfor Android 12+ compatibility (exported=true).ListenableFutureclass error.SmsUtils.PR created automatically by Jules for task 10101969216577956927 started by @xRahul