nc-wc-ndk_pub/wolfssl-jni/build.sh

12 lines
406 B
Bash

#!/bin/bash
# BUILD this JNI library
# - gradle task 'copyLibs' was created by me to copy the .so files to dist/
#
gradle clean
# there is a bug in the cleaner task, we need to blow away this artifact directory too
rm -rf .externalNativeBuild/
# build and copy the libs
# copy maven local so that flutter can find the lib (because Goog sucks at engineering)
gradle build copyLibs publishToMavenLocal