Copy kotlin libs only when building kotlin

This commit is contained in:
Sudarsan Balaji 2021-10-28 00:35:09 +05:30
parent 4ad9b89e25
commit d1b24026e6

View File

@ -44,6 +44,7 @@ copy_lib_kotlin() {
## bdk-bdk-kotlin jar
build_kotlin() {
copy_lib_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
else
build_rust
copy_lib_kotlin
while [ -n "$1" ]; do # while loop starts
case "$1" in