Copy kotlin libs only when building kotlin
This commit is contained in:
parent
4ad9b89e25
commit
d1b24026e6
2
build.sh
2
build.sh
@ -44,6 +44,7 @@ copy_lib_kotlin() {
|
|||||||
|
|
||||||
## bdk-bdk-kotlin jar
|
## bdk-bdk-kotlin jar
|
||||||
build_kotlin() {
|
build_kotlin() {
|
||||||
|
copy_lib_kotlin
|
||||||
uniffi-bindgen generate src/bdk.udl --no-format --out-dir bindings/bdk-kotlin/jvm/src/main/kotlin --language kotlin
|
uniffi-bindgen generate src/bdk.udl --no-format --out-dir bindings/bdk-kotlin/jvm/src/main/kotlin --language kotlin
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -96,7 +97,6 @@ then
|
|||||||
help
|
help
|
||||||
else
|
else
|
||||||
build_rust
|
build_rust
|
||||||
copy_lib_kotlin
|
|
||||||
|
|
||||||
while [ -n "$1" ]; do # while loop starts
|
while [ -n "$1" ]; do # while loop starts
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user