2 replace all actions have been performed: - "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial" - "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
38 lines
998 B
Kotlin
38 lines
998 B
Kotlin
import extension.setupAnvil
|
|
|
|
/*
|
|
* Copyright 2023, 2024 New Vector Ltd.
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
* Please see LICENSE files in the repository root for full details.
|
|
*/
|
|
plugins {
|
|
id("io.element.android-library")
|
|
}
|
|
|
|
android {
|
|
namespace = "io.element.android.libraries.network"
|
|
|
|
buildTypes {
|
|
release {
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
}
|
|
}
|
|
}
|
|
|
|
setupAnvil()
|
|
|
|
dependencies {
|
|
implementation(libs.dagger)
|
|
implementation(projects.libraries.core)
|
|
implementation(projects.libraries.di)
|
|
implementation(projects.libraries.matrix.api)
|
|
implementation(platform(libs.network.okhttp.bom))
|
|
implementation(libs.network.okhttp)
|
|
implementation(libs.network.okhttp.logging)
|
|
implementation(platform(libs.network.retrofit.bom))
|
|
implementation(libs.network.retrofit)
|
|
implementation(libs.network.retrofit.converter.serialization)
|
|
implementation(libs.serialization.json)
|
|
}
|