mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 16:22:49 +00:00
fc519c7ddf
The three rules came from a 2022 comment on Retrofit issue #3751. Retrofit 3.0.0 now ships META-INF/proguard/retrofit2.pro, which contains two of them verbatim and covers retrofit2.Call through its conditional return-type rule. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
35 lines
1.1 KiB
Kotlin
35 lines
1.1 KiB
Kotlin
import extension.setupDependencyInjection
|
|
|
|
/*
|
|
* Copyright (c) 2025 Element Creations Ltd.
|
|
* 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"
|
|
}
|
|
|
|
setupDependencyInjection()
|
|
|
|
dependencies {
|
|
implementation(libs.coroutines.core)
|
|
implementation(projects.libraries.androidutils)
|
|
implementation(projects.libraries.core)
|
|
implementation(projects.libraries.di)
|
|
implementation(projects.libraries.matrix.api)
|
|
implementation(projects.libraries.preferences.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)
|
|
}
|