- Always use the NDK version from .
- Fix issues with Android NDK 23+: use
llvm-ar
, support-lgcc
rewriting on Windows.
- Support Android NDK 23.
- Add Desktop targets
darwin-x86-64
, which will supersededarwin
, anddarwin-aarch64
.
- Support multiple Android Gradle Plugin versions. Everything here is based on https://github.com/gradle/android-cache-fix-gradle-plugin; many thanks to that project for paving the way here.
- Allow
module
andtargetDirectory
to be absolute paths. This is used in the test harness at the moment.
- Use per-platform API level for selecting toolchain.
- Revert a change that prevented publishing.
- Allow to use
+nightly
, etc, withcargo { rustupChannel = "..." }
. Fixes #24. - Allow to set
cargo { (cargo|python|rustc)Command = "..." }
. Fixes #48.
- The plugin tries to interoperate with Rust bindgen out of the box by setting
CLANG_PATH
. - We no longer invoke
cargo
for the Gradleclean
target.
- Plugin now supports using prebuilt NDK toolchains.
- Avoid passing
--target
to cargo for the default target. - The
exec
callback is now invoked as late as possible. - The
CARGO_TARGET_DIR
environment variable should now be respected, if it is set. - Various parts of the plugin's documentation have been improved.
- Added
extraCargoBuildArguments
.
- breaking Further split "win32-x86-64" into "win32-x86-64-{gnu,msvc}".
- Fixed bug with DLL libraries in with JNA: expect "foo.dll" instead of "libfoo.dll".
- Added per-target pass-through variables.
- Separated "default" target into multiple Desktop targets: "linux-x86-64, "darwin", "win32-x86-64".