Java bindings for the Rust library btleplug.
To build the project you'll need:
- JDK 22 and upwards (for the FFM API)
jextractmatching the JDK version- Rust
- Zig (for cross-compilation for Linux and macOS)
- MinGW (for cross-compilation for Windows)
cargo-zigbuildandcargo-xwinlibdbusdevelopment files andbluezwhen on Linux- macOS SDK (for cross-compilation targeting macOS)
It's suggested to build this on a Linux host machine.
After you've added the relevant targets via rustup (check build.gradle.kts for target triples), to build the project
simply run:
./gradlew build