thunderbiscuit 0c1a9d7f1d
Move all bdk-kotlin into subdirectory to prepare for ffi merge
Signed-off-by: thunderbiscuit <thunderbiscuit@protonmail.com>
2022-11-14 08:56:17 -05:00

18 lines
641 B
Markdown

# Readme
The purpose of this directory is to host the Gradle plugin that adds tasks for building the native binaries required by `bdk-android`, and building the language bindings files.
The plugin is applied to the `build.gradle.kts` file in `bdk-android` through the `plugins` block:
```kotlin
// bdk-android
plugins {
id("org.bitcoindevkit.plugins.generate-android-bindings")
}
```
It adds a series of tasks which are brought together into an aggregate task called `buildAndroidLib`.
This aggregate task:
1. Builds the native libraries using `bdk-ffi`
2. Places them in the correct resource directories
3. Builds the bindings file