matrix-rust-sdk/bindings/kotlin
Jonas Platte ce973b35e9 chore: Upgrade uniffi to 0.23.0 2023-02-02 10:15:05 +01:00
..
buildSrc Kotlin bindings: create project with sample, crypto and sdk modules 2022-10-12 18:24:12 +02:00
crypto Add script to generate only crypto-ffi crate 2022-11-25 11:59:27 +01:00
gradle/wrapper Kotlin bindings: create project with sample, crypto and sdk modules 2022-10-12 18:24:12 +02:00
scripts chore: Upgrade uniffi to 0.23.0 2023-02-02 10:15:05 +01:00
sdk Kotlin bindings: create project with sample, crypto and sdk modules 2022-10-12 18:24:12 +02:00
README.md chore: Upgrade uniffi to 0.23.0 2023-02-02 10:15:05 +01:00
SECURITY.md Kotlin bindings: create project with sample, crypto and sdk modules 2022-10-12 18:24:12 +02:00
build.gradle Kotlin bindings: create project with sample, crypto and sdk modules 2022-10-12 18:24:12 +02:00
gradle.properties Kotlin bindings: create project with sample, crypto and sdk modules 2022-10-12 18:24:12 +02:00
gradlew Kotlin bindings: create project with sample, crypto and sdk modules 2022-10-12 18:24:12 +02:00
gradlew.bat Kotlin bindings: create project with sample, crypto and sdk modules 2022-10-12 18:24:12 +02:00
settings.gradle Add script to generate only crypto-ffi crate 2022-11-25 11:59:27 +01:00

README.md

Matrix rust components kotlin

This project and build scripts demonstrate how to create an aar and how to import it in your android projects.

Prerequisites

  • the Rust toolchain
  • cargo-ndk < 2.12.0 cargo install cargo-ndk --version 2.11.0
  • android targets (e.g. rustup target add \ aarch64-linux-android \ armv7-linux-androideabi \ x86_64-linux-android \ i686-linux-android)

Building the SDK

To build the full sdk and get an aar you can call : ./bindings/kotlin/scripts/build_sdk.sh /matrix-rust_sdk/bindings/kotlin/sample/libs where the parameter is the path for the aar to go

License

Apache-2.0