com.github.willir.rust.cargo-ndk-android
Owner: Anton Rapetov
A plugin that helps build Rust JNI libraries via Cargo NDK for use in Android projects.
https://github.com/willir/cargo-ndk-android-gradle
Sources: https://github.com/willir/cargo-ndk-android-gradle.git
Version 0.3.4 (latest)
Created 16 February 2021.
A plugin that helps build Rust JNI libraries via Cargo NDK for use in Android projects.
Add this plugin to your build using the plugins DSL:
plugins {
id("com.github.willir.rust.cargo-ndk-android") version "0.3.4"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("com.github.willir.rust.cargo-ndk-android:com.github.willir.rust.cargo-ndk-android.gradle.plugin:0.3.4") }
It can then be applied in the precompiled script plugin:plugins { id("com.github.willir.rust.cargo-ndk-android") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.github.willir.rust.cargo-ndk-android:com.github.willir.rust.cargo-ndk-android.gradle.plugin:0.3.4") } } apply(plugin = "com.github.willir.rust.cargo-ndk-android")
- Applying plugins to all subprojects .