Add initial scaffolding for Kotlin Multiplatform (Android target only for now)#72
Draft
kirillzh wants to merge 1 commit intoLtbLightning:mainfrom
Draft
Add initial scaffolding for Kotlin Multiplatform (Android target only for now)#72kirillzh wants to merge 1 commit intoLtbLightning:mainfrom
kirillzh wants to merge 1 commit intoLtbLightning:mainfrom
Conversation
… for now) - Gradle project which configures KMP bindings generation using [Gobley](https://github.com/gobley/gobley) plugin - Currently only Android target is supported, but other targest can be added too (JVM, iOS, Mac, WASM, etc)
Contributor
|
Legend! At this point, bitcoin-ffi has even updated to uniffi 0.29 so I think we'll have to wait or help with the gobley upgrade |
kirillzh
commented
Apr 1, 2025
Contributor
Author
There was a problem hiding this comment.
Gradle binaries and .properties file were generated using gradle init command. It's a common practice to check them in. https://docs.gradle.org/current/userguide/part1_gradle_init.html
11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Set up Kotlin Multiplatform (KMP) bindings using Gobley plugin: https://gobley.dev. This will effectively allow to use payjoin bindings in a JVM, Android or KMP (for any supported targets) projects.
To generate bindings (currently doesn't work because of uniffi version mismatch, see below):
Run
./gradlew buildBindings. KMP bindings should be generated inbuild/generateddirectory.TODO:
failed to find tool. Isaarch64-linux-gnu-gccinstalled?