divviup / divviup/divviup-android

Replace use of Rust Android Gradle Plugin

Open
#540 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1
Forks
1
Avg merge
4h 13m
Merged PRs (30d)
14

Description

We have been stuck on Gradle 8 for a while because Mozilla's Rust Android Gradle Plugin hasn't been updated for Gradle 9. I have noticed other projects are switching away from it, and hand-writing new Gradle tasks that do cross-compilation with the correct environment variables by shelling out to cargo-ndk. See for example https://github.com/element-hq/matrix-rich-text-editor/pull/132 and https://github.com/JingMatrix/NeoZygisk/commit/aacd530a0e9837c012b8c3585937e7c76c246438.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing Mozilla Rust Android Gradle Plugin configuration in the Android build files and identify the Gradle tasks it provides. Review the linked cargo-ndk examples for the required cross-compilation environment, then run the Android build with Gradle 9 to confirm the replacement works across the supported targets.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, rust
Domain
build-system, mobile
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.