Updated on 2026-08-14

This commit is contained in:
Tangem 2026-07-06 17:54:40 +04:00
parent 4cd1bb77a1
commit 23544541cf
15 changed files with 189 additions and 198 deletions

View file

@ -11,11 +11,9 @@ android {
dependencies {
/** Project - Core */
implementation(projects.core.decompose)
implementation(projects.core.ui)
api(projects.core.decompose)
api(projects.core.ui)
/** Project - Domain */
api(projects.domain.models)
implementation(projects.domain.tokens.models)
implementation(projects.domain.wallets.models)
}

View file

@ -5,7 +5,6 @@ plugins {
alias(deps.plugins.kotlin.android)
alias(deps.plugins.kotlin.kapt)
alias(deps.plugins.hilt.android)
alias(deps.plugins.ksp)
id("configuration")
}
@ -18,38 +17,29 @@ dependencies {
implementation(deps.androidx.datastore)
/** Project*/
implementation(projects.core.datasource)
implementation(projects.core.utils)
implementation(projects.features.swap.domain)
implementation(projects.features.swap.domain.models)
implementation(projects.features.swap.domain.api)
api(projects.core.datasource)
api(projects.core.utils)
api(projects.features.swap.domain)
implementation(projects.domain.express.models)
/** Network */
implementation(deps.retrofit)
implementation(deps.retrofit.moshi)
implementation(deps.moshi)
implementation(deps.moshi.kotlin)
api(deps.moshi)
implementation(deps.arrow.core)
ksp(deps.moshi.kotlin.codegen)
implementation(deps.kotlin.coroutines)
kaptForObfuscatingVariants(deps.retrofit.response.type.keeper)
/** Domain */
implementation(projects.domain.tokens.models)
implementation(projects.domain.legacy)
implementation(projects.domain.walletManager)
implementation(projects.domain.models)
implementation(projects.domain.wallets)
implementation(projects.domain.wallets.models)
implementation(projects.domain.transaction.models)
implementation(projects.domain.express.models)
implementation(projects.domain.account.status)
implementation(projects.domain.txhistory)
api(projects.domain.account)
api(projects.domain.models)
api(projects.domain.txhistory)
runtimeOnly(projects.domain.account.status)
runtimeOnly(projects.domain.wallets)
implementation(projects.libs.blockchainSdk)
implementation(projects.libs.crypto)
/** Data */
implementation(projects.data.common)
api(projects.data.common)
/** Tangem SDKs */
implementation(tangemDeps.blockchain)

View file

@ -6,14 +6,4 @@ plugins {
android {
namespace = "com.tangem.feature.swap.domain.api"
}
dependencies {
implementation(projects.features.swap.domain.models)
implementation(projects.domain.tokens.models)
implementation(projects.domain.wallets.models)
implementation(projects.domain.express.models)
implementation(deps.arrow.core)
}

View file

@ -23,59 +23,56 @@ dependencies {
kapt(deps.hilt.kapt)
/** Domain */
implementation(projects.domain.swap.models)
implementation(projects.domain.swap)
implementation(projects.domain.appCurrency)
implementation(projects.domain.appCurrency.models)
implementation(projects.domain.card)
implementation(projects.domain.demo)
implementation(projects.domain.legacy)
implementation(projects.domain.models)
implementation(projects.domain.quotes)
implementation(projects.domain.staking)
implementation(projects.domain.tokens)
implementation(projects.domain.tokens.models)
implementation(projects.domain.transaction)
implementation(projects.domain.transaction.models)
implementation(projects.domain.txhistory.models)
implementation(projects.domain.wallets)
implementation(projects.domain.wallets.models)
implementation(projects.domain.express.models)
implementation(projects.domain.account)
implementation(projects.domain.account.status)
implementation(projects.domain.visa)
implementation(projects.domain.visa.models)
implementation(projects.domain.balanceHiding)
implementation(projects.domain.yieldSupply)
implementation(projects.domain.notifications)
api(projects.domain.account.status)
api(projects.domain.appCurrency)
api(projects.domain.appCurrency.models)
api(projects.domain.balanceHiding)
api(projects.domain.demo)
api(projects.domain.express.models)
api(projects.domain.legacy)
api(projects.domain.models)
api(projects.domain.notifications)
api(projects.domain.quotes)
api(projects.domain.swap)
api(projects.domain.swap.models)
api(projects.domain.tokens)
api(projects.domain.tokens.models)
api(projects.domain.transaction)
api(projects.domain.transaction.models)
api(projects.domain.visa)
api(projects.domain.visa.models)
api(projects.domain.walletManager)
api(projects.domain.yieldSupply)
/** Common modules */
implementation(projects.common.ui)
api(projects.common.ui)
/** Core modules */
implementation(projects.core.configToggles)
api(projects.core.abTests)
api(projects.core.datasource)
api(projects.core.ui)
implementation(projects.core.utils)
implementation(projects.core.ui)
implementation(projects.core.datasource)
implementation(projects.core.abTests)
implementation(projects.core.error)
/** Feature Apis */
implementation(projects.features.wallet.api)
implementation(projects.features.swap.api)
implementation(projects.features.swap.domain.api)
implementation(projects.features.swap.domain.models)
api(projects.features.swap.api)
implementation(projects.features.send.api)
implementation(projects.libs.blockchainSdk)
/** Other Libraries **/
implementation(deps.kotlin.coroutines)
implementation(deps.arrow.core)
implementation(tangemDeps.blockchain)
api(deps.arrow.core)
api(deps.jodatime)
api(deps.kotlin.coroutines)
api(deps.moshi)
api(tangemDeps.blockchain)
implementation(tangemDeps.card.core)
implementation(deps.moshi)
ksp(deps.moshi.kotlin.codegen)
/** Test */
testRuntimeOnly(projects.domain.account)
testRuntimeOnly(projects.domain.card)
testRuntimeOnly(projects.domain.staking)
testRuntimeOnly(projects.domain.wallets)
testImplementation(deps.test.junit)
testImplementation(projects.test.core)
}

View file

@ -1,30 +1,9 @@
plugins {
alias(deps.plugins.android.library)
alias(deps.plugins.kotlin.android)
alias(deps.plugins.ksp)
id("configuration")
}
android {
namespace = "com.tangem.feature.swap.domain.models"
}
dependencies {
/** Domain */
api(projects.domain.models)
implementation(projects.domain.tokens.models)
implementation(projects.domain.transaction.models)
/** Core modules */
implementation(projects.core.utils)
implementation(projects.core.datasource)
/** Other Libraries **/
implementation(tangemDeps.blockchain)
implementation(deps.kotlin.serialization)
implementation(deps.arrow.core)
implementation(deps.moshi.kotlin)
implementation(deps.jodatime)
ksp(deps.moshi.kotlin.codegen)
}