Add zstd-jni library
This commit is contained in:
parent
cb68f75eb6
commit
d2df088f2c
4 changed files with 10 additions and 0 deletions
|
@ -32,6 +32,7 @@ android_app {
|
||||||
"com.google.android.material_material",
|
"com.google.android.material_material",
|
||||||
"kotlinx-coroutines-android",
|
"kotlinx-coroutines-android",
|
||||||
"kotlinx-coroutines-core",
|
"kotlinx-coroutines-core",
|
||||||
|
"seedvault-lib-zstd-jni",
|
||||||
// our own gradle module libs
|
// our own gradle module libs
|
||||||
"seedvault-lib-core",
|
"seedvault-lib-core",
|
||||||
"seedvault-lib-storage",
|
"seedvault-lib-storage",
|
||||||
|
@ -44,6 +45,7 @@ android_app {
|
||||||
"seedvault-lib-dav4jvm",
|
"seedvault-lib-dav4jvm",
|
||||||
"seedvault-lib-okhttp",
|
"seedvault-lib-okhttp",
|
||||||
],
|
],
|
||||||
|
use_embedded_native_libs: true,
|
||||||
manifest: "app/src/main/AndroidManifest.xml",
|
manifest: "app/src/main/AndroidManifest.xml",
|
||||||
|
|
||||||
platform_apis: true,
|
platform_apis: true,
|
||||||
|
|
|
@ -175,6 +175,7 @@ dependencies {
|
||||||
implementation(fileTree("${rootProject.rootDir}/libs/koin-android").include("*.jar"))
|
implementation(fileTree("${rootProject.rootDir}/libs/koin-android").include("*.jar"))
|
||||||
implementation(fileTree("${rootProject.rootDir}/libs/koin-android").include("*.aar"))
|
implementation(fileTree("${rootProject.rootDir}/libs/koin-android").include("*.aar"))
|
||||||
|
|
||||||
|
implementation(fileTree("${rootProject.rootDir}/libs").include("zstd-jni-1.5.6-5.aar"))
|
||||||
implementation(fileTree("${rootProject.rootDir}/libs").include("kotlin-bip39-jvm-1.0.6.jar"))
|
implementation(fileTree("${rootProject.rootDir}/libs").include("kotlin-bip39-jvm-1.0.6.jar"))
|
||||||
|
|
||||||
implementation(fileTree("${rootProject.rootDir}/libs/dav4jvm").include("*.jar"))
|
implementation(fileTree("${rootProject.rootDir}/libs/dav4jvm").include("*.jar"))
|
||||||
|
|
|
@ -3,6 +3,13 @@
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
//
|
//
|
||||||
|
|
||||||
|
android_library_import {
|
||||||
|
name: "seedvault-lib-zstd-jni",
|
||||||
|
aars: ["zstd-jni-1.5.6-5.aar"],
|
||||||
|
sdk_version: "current",
|
||||||
|
extract_jni: true,
|
||||||
|
}
|
||||||
|
|
||||||
java_import {
|
java_import {
|
||||||
name: "seedvault-lib-kotlin-bip39",
|
name: "seedvault-lib-kotlin-bip39",
|
||||||
jars: ["kotlin-bip39-jvm-1.0.6.jar"],
|
jars: ["kotlin-bip39-jvm-1.0.6.jar"],
|
||||||
|
|
BIN
libs/zstd-jni-1.5.6-5.aar
Normal file
BIN
libs/zstd-jni-1.5.6-5.aar
Normal file
Binary file not shown.
Loading…
Reference in a new issue