d5320918dc
w: Argument -Xopt-in is deprecated. Please use -opt-in instead w: C:\Users\aayus\StudioProjects\seedvault\storage\demo\src\main\java\de\grobox\storagebackuptester\restore\DemoSnapshotFragment.kt: (34, 31): 'onBackPressed(): Unit' is deprecated. Overrides deprecated member in 'androidx.core.app.ComponentActivity'. Deprecated in Java w: Argument -Xopt-in is deprecated. Please use -opt-in instead w: C:\Users\aayus\StudioProjects\seedvault\storage\lib\src\main\java\org\calyxos\backup\storage\backup\BackupService.kt: (35, 9): This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. w: C:\Users\aayus\StudioProjects\seedvault\storage\lib\src\main\java\org\calyxos\backup\storage\restore\RestoreService.kt: (49, 9): This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API. Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
51 lines
1.3 KiB
Text
51 lines
1.3 KiB
Text
//
|
|
// SPDX-FileCopyrightText: 2021 The Calyx Institute
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
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: [
|
|
"-opt-in=kotlin.RequiresOptIn",
|
|
],
|
|
}
|
|
|
|
java_import {
|
|
name: "seedvault-lib-tink-android",
|
|
jars: ["libs/tink-android-1.7.0.jar"],
|
|
sdk_version: "current",
|
|
}
|