FIX: removed assests and string references from the library, making it more generic
This commit is contained in:
parent
660af53553
commit
95b82901f9
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="io.malloc.ccc">
|
||||
|
||||
<application android:allowBackup="true" android:label="@string/app_name"
|
||||
android:supportsRtl="true">
|
||||
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
package="io.malloc.ccc">
|
||||
</manifest>
|
|
@ -1,3 +0,0 @@
|
|||
<resources>
|
||||
<string name="app_name">WolfSSL JNI Lib</string>
|
||||
</resources>
|
Loading…
Reference in New Issue