diff --git a/nc-jni/build.sh b/nc-jni/build.sh deleted file mode 100644 index b127589..0000000 --- a/nc-jni/build.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/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 diff --git a/wolfssl-jni/build.gradle b/wolfssl-jni/build.gradle index b1a5871..485bba3 100644 --- a/wolfssl-jni/build.gradle +++ b/wolfssl-jni/build.gradle @@ -1,5 +1,9 @@ +// +// WolfCrypt JNI Library +// +// +// will create an .aar file instead of .apk apply plugin: 'com.android.library' - android { compileSdkVersion 28 // a default can be used, but it is good practice to explicitly select build tools diff --git a/wolfssl-jni/build.sh b/wolfssl-jni/build.sh old mode 100755 new mode 100644 index 161fee2..b127589 --- a/wolfssl-jni/build.sh +++ b/wolfssl-jni/build.sh @@ -7,4 +7,5 @@ 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 -gradle build copyLibs +# copy maven local so that flutter can find the lib (because Goog sucks at engineering) +gradle build copyLibs publishToMavenLocal diff --git a/wolfssl-jni/src/main/AndroidManifest.xml b/wolfssl-jni/src/main/AndroidManifest.xml index ac7e4d5..0a1e806 100644 --- a/wolfssl-jni/src/main/AndroidManifest.xml +++ b/wolfssl-jni/src/main/AndroidManifest.xml @@ -1,9 +1,3 @@ - - - - - - + package="io.malloc.ccc"> + \ No newline at end of file diff --git a/wolfssl-jni/src/main/res/values/strings.xml b/wolfssl-jni/src/main/res/values/strings.xml deleted file mode 100644 index a770ae2..0000000 --- a/wolfssl-jni/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ - - WolfSSL JNI Lib -