|
|
|
import extension.setupAnvil
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright 2023, 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")
|
|
|
|
}
|
|
|
|
|
|
|
|
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)
|
|
|
|
}
|