This is a Cargo plugin that simplifies building Rust projects for Android using the Android NDK.
It automates the process of setting up the NDK toolchain, configuring the build environment, and compiling the Rust code for various Android architectures.
plugins {
...
id("io.github.thatworld.cargondk") version "<version>"
}
cargoNdk {
source = /* rust project source path */
manifestPath = /* rust project Cargo.toml */
...
}Please refer to the app module for the default project structure.
- ...