525a198ec8
Fixes: E AndroidRuntime: FATAL EXCEPTION: main E AndroidRuntime: Process: com.stevesoltys.seedvault, PID: 6688 E AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/fragment/app/FragmentViewModelLazyKt; Change-Id: I74d9cc78739db8496865439b9dcc2c31dc4b5416
46 lines
1.2 KiB
Text
46 lines
1.2 KiB
Text
android_library {
|
|
name: "seedvault-lib-storage",
|
|
sdk_version: "current",
|
|
srcs: [
|
|
"src/main/java/**/*.kt",
|
|
"src/main/java/**/*.java",
|
|
"src/main/proto/*.proto",
|
|
],
|
|
resource_dirs: [
|
|
"src/main/res",
|
|
],
|
|
proto: {
|
|
type: "lite",
|
|
local_include_dirs: ["src/main/proto"],
|
|
},
|
|
static_libs: [
|
|
"seedvault-lib-tink-android",
|
|
"libprotobuf-java-lite",
|
|
"androidx.core_core-ktx",
|
|
"androidx.fragment_fragment-ktx",
|
|
"androidx.activity_activity-ktx",
|
|
"androidx.documentfile_documentfile",
|
|
"androidx.lifecycle_lifecycle-viewmodel-ktx",
|
|
"androidx.room_room-runtime",
|
|
"androidx-constraintlayout_constraintlayout",
|
|
"com.google.android.material_material",
|
|
"kotlinx-coroutines-android",
|
|
"kotlinx-coroutines-core",
|
|
],
|
|
plugins: [
|
|
"androidx.room_room-compiler-plugin",
|
|
],
|
|
manifest: "src/main/AndroidManifest.xml",
|
|
optimize: {
|
|
enabled: false,
|
|
},
|
|
kotlincflags: [
|
|
"-Xopt-in=kotlin.RequiresOptIn",
|
|
],
|
|
}
|
|
|
|
java_import {
|
|
name: "seedvault-lib-tink-android",
|
|
jars: ["libs/tink-android-1.7.0.jar"],
|
|
sdk_version: "current",
|
|
}
|