Updated on 2026-08-14
This commit is contained in:
parent
a8c70f3925
commit
e2af488b32
20 changed files with 232 additions and 150 deletions
|
|
@ -5,17 +5,29 @@ plugins {
|
|||
}
|
||||
dependencies {
|
||||
|
||||
api(projects.domain.common)
|
||||
// region Kotlin
|
||||
api(deps.kotlin.coroutines)
|
||||
api(deps.kotlin.serialization)
|
||||
// endregion
|
||||
|
||||
// region Other libraries
|
||||
api(deps.arrow.core)
|
||||
// endregion
|
||||
|
||||
// region Core modules
|
||||
api(projects.core.utils)
|
||||
// endregion
|
||||
|
||||
// region Domain
|
||||
runtimeOnly(projects.domain.common)
|
||||
api(projects.domain.core)
|
||||
// endregion
|
||||
|
||||
// region Domain models
|
||||
api(projects.domain.models)
|
||||
api(projects.domain.wallets.models)
|
||||
api(projects.domain.yieldSupply.models)
|
||||
// endregion
|
||||
|
||||
implementation(deps.arrow.core)
|
||||
implementation(deps.kotlin.coroutines)
|
||||
implementation(deps.kotlin.serialization)
|
||||
|
||||
// region Test libraries
|
||||
// region Tests
|
||||
testImplementation(projects.test.core)
|
||||
testImplementation(projects.test.mock)
|
||||
// endregion
|
||||
|
|
|
|||
|
|
@ -11,21 +11,35 @@ android {
|
|||
|
||||
dependencies {
|
||||
|
||||
api(projects.domain.core)
|
||||
// region Kotlin
|
||||
api(deps.kotlin.coroutines)
|
||||
api(deps.kotlin.serialization)
|
||||
// endregion
|
||||
|
||||
// region Other libraries
|
||||
api(deps.arrow.core)
|
||||
api(deps.jodatime)
|
||||
// endregion
|
||||
|
||||
// region Core modules
|
||||
implementation(projects.core.utils)
|
||||
// endregion
|
||||
|
||||
// region Domain
|
||||
api(projects.domain.common)
|
||||
api(projects.domain.tokens)
|
||||
api(projects.domain.transaction)
|
||||
// endregion
|
||||
|
||||
// region Domain models
|
||||
api(projects.domain.models)
|
||||
// endregion
|
||||
|
||||
implementation(projects.domain.common)
|
||||
implementation(projects.domain.transaction)
|
||||
implementation(projects.domain.tokens)
|
||||
|
||||
implementation(deps.arrow.core)
|
||||
implementation(deps.kotlin.coroutines)
|
||||
implementation(deps.kotlin.serialization)
|
||||
implementation(deps.jodatime)
|
||||
|
||||
// region Test libraries
|
||||
testImplementation(projects.test.core)
|
||||
testImplementation(projects.test.mock)
|
||||
// region Tests
|
||||
testImplementation(deps.test.coroutine)
|
||||
testImplementation(deps.test.junit5)
|
||||
testImplementation(deps.test.mockk)
|
||||
testImplementation(deps.test.truth)
|
||||
testImplementation(projects.common.test)
|
||||
// endregion
|
||||
}
|
||||
|
|
@ -1,19 +1,18 @@
|
|||
plugins {
|
||||
alias(deps.plugins.kotlin.jvm)
|
||||
alias(deps.plugins.kotlin.kapt)
|
||||
alias(deps.plugins.ksp)
|
||||
id("configuration")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
/** Project - Domain */
|
||||
implementation(projects.core.utils)
|
||||
implementation(projects.domain.core)
|
||||
implementation(projects.domain.models)
|
||||
implementation(projects.domain.wallets.models)
|
||||
implementation(deps.moshi.kotlin)
|
||||
implementation(deps.arrow.core)
|
||||
implementation(deps.arrow.fx)
|
||||
// region Other libraries
|
||||
api(deps.arrow.core)
|
||||
api(deps.moshi)
|
||||
ksp(deps.moshi.kotlin.codegen)
|
||||
// endregion
|
||||
|
||||
// region Domain models
|
||||
api(projects.domain.models)
|
||||
// endregion
|
||||
}
|
||||
|
|
@ -5,8 +5,15 @@ plugins {
|
|||
|
||||
dependencies {
|
||||
|
||||
/** Project - Domain */
|
||||
implementation(projects.core.utils)
|
||||
implementation(projects.domain.core)
|
||||
implementation(projects.domain.appCurrency.models)
|
||||
// region Kotlin
|
||||
api(deps.kotlin.coroutines)
|
||||
// endregion
|
||||
|
||||
// region Other libraries
|
||||
api(deps.arrow.core)
|
||||
// endregion
|
||||
|
||||
// region Domain models
|
||||
api(projects.domain.appCurrency.models)
|
||||
// endregion
|
||||
}
|
||||
|
|
@ -5,5 +5,5 @@ plugins {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation(deps.kotlin.serialization)
|
||||
api(deps.kotlin.serialization)
|
||||
}
|
||||
|
|
@ -5,8 +5,15 @@ plugins {
|
|||
|
||||
dependencies {
|
||||
|
||||
/** Project - Domain */
|
||||
implementation(projects.core.utils)
|
||||
implementation(projects.domain.core)
|
||||
implementation(projects.domain.appTheme.models)
|
||||
// region Kotlin
|
||||
api(deps.kotlin.coroutines)
|
||||
// endregion
|
||||
|
||||
// region Other libraries
|
||||
api(deps.arrow.core)
|
||||
// endregion
|
||||
|
||||
// region Domain models
|
||||
api(projects.domain.appTheme.models)
|
||||
// endregion
|
||||
}
|
||||
|
|
@ -6,8 +6,4 @@ plugins {
|
|||
|
||||
android {
|
||||
namespace = "com.tangem.domain.appsflyer"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(deps.kotlin.coroutines)
|
||||
}
|
||||
|
|
@ -8,24 +8,29 @@ android {
|
|||
namespace = "com.tangem.domain.assetsdiscovery"
|
||||
}
|
||||
|
||||
tasks.withType<Test>().configureEach {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(projects.domain.core)
|
||||
implementation(projects.domain.models)
|
||||
implementation(projects.domain.account.status)
|
||||
implementation(projects.core.utils)
|
||||
|
||||
implementation(projects.libs.blockchainSdk)
|
||||
implementation(tangemDeps.blockchain)
|
||||
// region Kotlin
|
||||
api(deps.kotlin.coroutines)
|
||||
// endregion
|
||||
|
||||
implementation(deps.kotlin.coroutines)
|
||||
implementation(deps.arrow.core)
|
||||
// region Other libraries
|
||||
api(deps.arrow.core)
|
||||
api(tangemDeps.blockchain)
|
||||
// endregion
|
||||
|
||||
// region Core modules
|
||||
api(projects.core.analytics)
|
||||
api(projects.core.utils)
|
||||
implementation(projects.core.analytics.models)
|
||||
// endregion
|
||||
|
||||
// region Domain
|
||||
api(projects.domain.account.status)
|
||||
api(projects.domain.models)
|
||||
// endregion
|
||||
|
||||
// region Tests
|
||||
testRuntimeOnly(deps.test.junit5.engine)
|
||||
testImplementation(projects.common.test)
|
||||
testImplementation(projects.test.core)
|
||||
// endregion
|
||||
|
|
|
|||
|
|
@ -4,8 +4,16 @@ plugins {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation(projects.domain.core)
|
||||
implementation(deps.kotlin.coroutines)
|
||||
implementation(projects.domain.settings)
|
||||
implementation(projects.domain.balanceHiding.models)
|
||||
|
||||
// region Kotlin
|
||||
api(deps.kotlin.coroutines)
|
||||
// endregion
|
||||
|
||||
// region Other libraries
|
||||
api(deps.arrow.core)
|
||||
// endregion
|
||||
|
||||
// region Domain models
|
||||
api(projects.domain.balanceHiding.models)
|
||||
// endregion
|
||||
}
|
||||
|
|
@ -10,15 +10,17 @@ android {
|
|||
|
||||
|
||||
dependencies {
|
||||
/** Project - Domain */
|
||||
implementation(projects.domain.models)
|
||||
implementation(projects.domain.core)
|
||||
implementation(projects.domain.blockaid.models)
|
||||
|
||||
/** Tangem SDK */
|
||||
implementation(tangemDeps.blockchain)
|
||||
// region Other libraries
|
||||
api(deps.arrow.core)
|
||||
api(tangemDeps.blockchain)
|
||||
// endregion
|
||||
|
||||
// region Domain
|
||||
api(projects.domain.models)
|
||||
// endregion
|
||||
|
||||
/** Other */
|
||||
implementation(deps.moshi.adapters)
|
||||
// region Domain models
|
||||
api(projects.domain.blockaid.models)
|
||||
// endregion
|
||||
}
|
||||
|
|
@ -1,10 +1,4 @@
|
|||
plugins {
|
||||
alias(deps.plugins.kotlin.jvm)
|
||||
alias(deps.plugins.ksp)
|
||||
id("configuration")
|
||||
}
|
||||
dependencies {
|
||||
/* Other */
|
||||
implementation(deps.moshi)
|
||||
ksp(deps.moshi.kotlin.codegen)
|
||||
}
|
||||
|
|
@ -8,30 +8,43 @@ android {
|
|||
namespace = "com.tangem.domain.card"
|
||||
}
|
||||
dependencies {
|
||||
implementation(projects.core.analytics.models)
|
||||
implementation(projects.core.error)
|
||||
implementation(projects.core.error.ext)
|
||||
|
||||
implementation(projects.domain.demo)
|
||||
implementation(projects.domain.core)
|
||||
implementation(projects.domain.legacy)
|
||||
implementation(projects.domain.walletManager) // TODO refactor to use from data module
|
||||
implementation(projects.libs.blockchainSdk)
|
||||
// TODO: Remove after new card scan result was implemented
|
||||
implementation(projects.domain.models)
|
||||
implementation(projects.domain.tokens.models)
|
||||
implementation(projects.domain.wallets.models)
|
||||
implementation(projects.domain.visa.models)
|
||||
implementation(projects.core.utils)
|
||||
// region Kotlin
|
||||
api(deps.kotlin.coroutines)
|
||||
// endregion
|
||||
|
||||
implementation(projects.libs.tangemSdkApi)
|
||||
|
||||
implementation(tangemDeps.card.core)
|
||||
implementation(tangemDeps.blockchain) {
|
||||
// region Other libraries
|
||||
api(deps.arrow.core)
|
||||
api(tangemDeps.blockchain) {
|
||||
exclude(module = "joda-time")
|
||||
}
|
||||
api(tangemDeps.card.core)
|
||||
// endregion
|
||||
|
||||
/** Testing libraries */
|
||||
testImplementation(projects.common.test)
|
||||
// region Core modules
|
||||
api(projects.core.analytics.models)
|
||||
api(projects.core.utils)
|
||||
// core:error provides UniversalError — a supertype of VisaActivationError (used via
|
||||
// domain:visa:models) the compiler needs on the classpath, though never referenced directly.
|
||||
implementation(projects.core.error)
|
||||
// endregion
|
||||
|
||||
// region Domain
|
||||
implementation(projects.domain.core)
|
||||
implementation(projects.domain.demo.models)
|
||||
// endregion
|
||||
|
||||
// region Domain models
|
||||
api(projects.domain.models)
|
||||
api(projects.domain.visa.models)
|
||||
// endregion
|
||||
|
||||
// region Libs
|
||||
api(projects.libs.blockchainSdk)
|
||||
api(projects.libs.tangemSdkApi)
|
||||
// endregion
|
||||
|
||||
// region Tests
|
||||
testImplementation(projects.test.core)
|
||||
// endregion
|
||||
}
|
||||
|
|
@ -6,15 +6,11 @@ plugins {
|
|||
|
||||
dependencies {
|
||||
api(deps.arrow.core)
|
||||
api(deps.arrow.fx)
|
||||
api(deps.kotlin.coroutines)
|
||||
implementation(deps.kotlin.serialization)
|
||||
|
||||
api(projects.core.analytics.models)
|
||||
api(projects.domain.models)
|
||||
|
||||
testImplementation(deps.test.coroutine)
|
||||
testImplementation(deps.test.junit)
|
||||
testImplementation(deps.test.mockk)
|
||||
testImplementation(deps.test.truth)
|
||||
}
|
||||
|
|
@ -6,10 +6,9 @@ plugins {
|
|||
|
||||
dependencies {
|
||||
api(deps.arrow.core)
|
||||
api(deps.arrow.fx)
|
||||
api(deps.arrow.atomic)
|
||||
api(deps.kotlin.coroutines)
|
||||
|
||||
implementation(deps.kotlin.serialization)
|
||||
api(deps.kotlin.serialization)
|
||||
|
||||
testImplementation(deps.test.coroutine)
|
||||
testImplementation(deps.test.junit5)
|
||||
|
|
|
|||
|
|
@ -11,6 +11,6 @@ android {
|
|||
dependencies {
|
||||
api(projects.domain.demo.models)
|
||||
|
||||
implementation(tangemDeps.blockchain)
|
||||
api(tangemDeps.blockchain)
|
||||
implementation(tangemDeps.card.core)
|
||||
}
|
||||
|
|
@ -9,6 +9,5 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation(tangemDeps.blockchain)
|
||||
implementation(tangemDeps.card.core)
|
||||
api(tangemDeps.blockchain)
|
||||
}
|
||||
|
|
@ -8,19 +8,36 @@ android {
|
|||
namespace = "com.tangem.domain.dynamicaddresses"
|
||||
}
|
||||
dependencies {
|
||||
api(projects.domain.core)
|
||||
api(projects.domain.dynamicAddresses.models)
|
||||
|
||||
implementation(projects.domain.models)
|
||||
implementation(projects.domain.walletManager)
|
||||
implementation(projects.domain.wallets)
|
||||
implementation(projects.libs.blockchainSdk)
|
||||
// region Kotlin
|
||||
api(deps.kotlin.coroutines)
|
||||
// endregion
|
||||
|
||||
implementation(tangemDeps.blockchain) {
|
||||
// region Other libraries
|
||||
api(deps.arrow.core)
|
||||
api(tangemDeps.blockchain) {
|
||||
exclude(module = "joda-time")
|
||||
}
|
||||
implementation(tangemDeps.card.core)
|
||||
api(tangemDeps.card.core)
|
||||
// endregion
|
||||
|
||||
testImplementation(projects.common.test)
|
||||
testImplementation(projects.test.core)
|
||||
// region Domain
|
||||
api(projects.domain.models)
|
||||
api(projects.domain.walletManager)
|
||||
api(projects.domain.wallets)
|
||||
// endregion
|
||||
|
||||
// region Domain models
|
||||
api(projects.domain.dynamicAddresses.models)
|
||||
// endregion
|
||||
|
||||
// region Libs
|
||||
implementation(projects.libs.blockchainSdk)
|
||||
// endregion
|
||||
|
||||
// region Tests
|
||||
testImplementation(deps.test.junit5)
|
||||
testImplementation(deps.test.mockk)
|
||||
testImplementation(deps.test.truth)
|
||||
// endregion
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue