You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
2.1 KiB
59 lines
2.1 KiB
/* |
|
* Copyright 2022-2024 New Vector Ltd. |
|
* |
|
* SPDX-License-Identifier: AGPL-3.0-only |
|
* Please see LICENSE in the repository root for full details. |
|
*/ |
|
|
|
plugins { |
|
id("io.element.android-library") |
|
alias(libs.plugins.anvil) |
|
alias(libs.plugins.kotlin.serialization) |
|
} |
|
|
|
android { |
|
namespace = "io.element.android.libraries.matrix.impl" |
|
} |
|
|
|
anvil { |
|
generateDaggerFactories.set(true) |
|
} |
|
|
|
dependencies { |
|
releaseImplementation(libs.matrix.sdk) |
|
if (file("${rootDir.path}/libraries/rustsdk/matrix-rust-sdk.aar").exists()) { |
|
println("\nNote: Using local binary of the Rust SDK.\n") |
|
debugImplementation(projects.libraries.rustsdk) |
|
} else { |
|
debugImplementation(libs.matrix.sdk) |
|
} |
|
implementation(projects.appconfig) |
|
implementation(projects.libraries.androidutils) |
|
implementation(projects.libraries.di) |
|
implementation(projects.libraries.featureflag.api) |
|
implementation(projects.libraries.network) |
|
implementation(projects.libraries.preferences.api) |
|
implementation(projects.services.analytics.api) |
|
implementation(projects.services.toolbox.api) |
|
api(projects.libraries.matrix.api) |
|
implementation(libs.dagger) |
|
implementation(projects.libraries.core) |
|
implementation("net.java.dev.jna:jna:5.15.0@aar") |
|
implementation(libs.androidx.datastore.preferences) |
|
implementation(libs.serialization.json) |
|
implementation(libs.kotlinx.collections.immutable) |
|
|
|
testImplementation(libs.test.junit) |
|
testImplementation(libs.test.truth) |
|
testImplementation(libs.test.robolectric) |
|
testImplementation(projects.libraries.featureflag.test) |
|
testImplementation(projects.libraries.matrix.test) |
|
testImplementation(projects.libraries.preferences.test) |
|
testImplementation(projects.libraries.sessionStorage.implMemory) |
|
testImplementation(projects.libraries.sessionStorage.test) |
|
testImplementation(projects.services.analytics.test) |
|
testImplementation(projects.services.toolbox.test) |
|
testImplementation(projects.tests.testutils) |
|
testImplementation(libs.coroutines.test) |
|
testImplementation(libs.test.turbine) |
|
}
|
|
|