mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 14:07:05 +05:30
EitherNet's ApiResultConverterFactory needs to go before any other (de)serialization factories, but multibindings do not have ordering guarantees. To fix this, I've changed the module to handle the EitherNet configuration within api and let core continue supplying everything else.
29 lines
818 B
Kotlin
29 lines
818 B
Kotlin
/*
|
|
* Copyright © 2022 Harsh Shandilya.
|
|
* Use of this source code is governed by an MIT-style
|
|
* license that can be found in the LICENSE file or at
|
|
* https://opensource.org/licenses/MIT.
|
|
*/
|
|
@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage")
|
|
|
|
plugins {
|
|
kotlin("android")
|
|
id("dev.msfjarvis.claw.kotlin-common")
|
|
id("dev.msfjarvis.claw.android-library")
|
|
alias(libs.plugins.anvil)
|
|
}
|
|
|
|
anvil { generateDaggerFactories.set(true) }
|
|
|
|
android { namespace = "dev.msfjarvis.claw.core" }
|
|
|
|
dependencies {
|
|
api(libs.kotlinx.serialization.json)
|
|
api(libs.okhttp.loggingInterceptor)
|
|
implementation(projects.diScopes)
|
|
implementation(libs.dagger)
|
|
implementation(libs.javax.inject)
|
|
implementation(libs.napier)
|
|
implementation(libs.okhttp.core)
|
|
implementation(libs.retrofit.kotlinxSerializationConverter)
|
|
}
|