Updated on 2026-08-14
This commit is contained in:
parent
86fca5488d
commit
79f79d1c34
16 changed files with 208 additions and 140 deletions
|
|
@ -1,8 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
alias(deps.plugins.android.library)
|
alias(deps.plugins.android.library)
|
||||||
alias(deps.plugins.kotlin.android)
|
alias(deps.plugins.kotlin.android)
|
||||||
alias(deps.plugins.kotlin.kapt)
|
|
||||||
alias(deps.plugins.hilt.android)
|
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -11,23 +9,36 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(projects.core.utils)
|
|
||||||
implementation(projects.domain.core)
|
|
||||||
implementation(projects.domain.models)
|
|
||||||
implementation(projects.domain.notifications.models)
|
|
||||||
implementation(projects.domain.wallets.models)
|
|
||||||
implementation(projects.domain.tokens.models)
|
|
||||||
implementation(projects.libs.crypto)
|
|
||||||
|
|
||||||
// region DI
|
// region Kotlin
|
||||||
implementation(deps.hilt.android)
|
api(deps.kotlin.coroutines)
|
||||||
kapt(deps.hilt.kapt)
|
// endregion
|
||||||
// end
|
|
||||||
|
// region Other libraries
|
||||||
|
api(deps.arrow.core)
|
||||||
|
implementation(deps.hilt.core)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Core modules
|
||||||
|
api(projects.core.utils)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain
|
||||||
|
api(projects.domain.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain models
|
||||||
|
api(projects.domain.notifications.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Libs
|
||||||
|
implementation(projects.libs.crypto)
|
||||||
|
// endregion
|
||||||
|
|
||||||
// region Tests
|
// region Tests
|
||||||
testImplementation(deps.test.junit5)
|
|
||||||
testImplementation(deps.test.coroutine)
|
testImplementation(deps.test.coroutine)
|
||||||
testImplementation(deps.test.truth)
|
testImplementation(deps.test.junit5)
|
||||||
testImplementation(deps.test.mockk)
|
testImplementation(deps.test.mockk)
|
||||||
// end
|
testImplementation(deps.test.truth)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -3,10 +3,23 @@ plugins {
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
/** Domain modules */
|
|
||||||
api(projects.domain.core)
|
|
||||||
api(projects.domain.models)
|
|
||||||
|
|
||||||
/** Test libraries */
|
// region Other libraries
|
||||||
testImplementation(projects.test.core)
|
api(deps.arrow.core)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Core modules
|
||||||
|
implementation(projects.core.utils)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain models
|
||||||
|
api(projects.domain.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Tests
|
||||||
|
testImplementation(deps.test.coroutine)
|
||||||
|
testImplementation(deps.test.junit5)
|
||||||
|
testImplementation(deps.test.mockk)
|
||||||
|
testImplementation(deps.test.truth)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,16 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(deps.arrow.core)
|
|
||||||
implementation(deps.kotlin.coroutines)
|
|
||||||
|
|
||||||
implementation(projects.domain.models)
|
// region Kotlin
|
||||||
|
api(deps.kotlin.coroutines)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Other libraries
|
||||||
|
api(deps.arrow.core)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain models
|
||||||
|
api(projects.domain.models)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -4,21 +4,34 @@ plugins {
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
/** Core modules */
|
|
||||||
implementation(projects.core.analytics.models)
|
|
||||||
|
|
||||||
|
// region Kotlin
|
||||||
|
api(deps.kotlin.coroutines)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Other libraries
|
||||||
|
api(deps.arrow.core)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Core modules
|
||||||
|
api(projects.core.analytics.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain
|
||||||
|
api(projects.domain.settings)
|
||||||
|
api(projects.domain.core)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain models
|
||||||
|
api(projects.domain.models)
|
||||||
api(projects.domain.onramp.models)
|
api(projects.domain.onramp.models)
|
||||||
api(projects.domain.tokens.models)
|
api(projects.domain.tokens.models)
|
||||||
api(projects.domain.wallets.models)
|
// endregion
|
||||||
|
|
||||||
api(projects.domain.core)
|
// region Tests
|
||||||
api(projects.domain.settings)
|
|
||||||
implementation(deps.kotlin.serialization)
|
|
||||||
implementation(projects.domain.stories)
|
|
||||||
|
|
||||||
/** Tests */
|
|
||||||
testImplementation(deps.test.coroutine)
|
testImplementation(deps.test.coroutine)
|
||||||
testImplementation(deps.test.junit5)
|
testImplementation(deps.test.junit5)
|
||||||
testImplementation(deps.test.mockk)
|
testImplementation(deps.test.mockk)
|
||||||
testImplementation(deps.test.truth)
|
testImplementation(deps.test.truth)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -6,13 +6,17 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(projects.domain.models)
|
|
||||||
implementation(projects.domain.core)
|
|
||||||
implementation(projects.domain.tokens.models)
|
|
||||||
implementation(projects.domain.wallets.models)
|
|
||||||
|
|
||||||
implementation(deps.moshi.kotlin)
|
// region Kotlin
|
||||||
|
api(deps.kotlin.serialization)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Other libraries
|
||||||
|
api(deps.moshi)
|
||||||
ksp(deps.moshi.kotlin.codegen)
|
ksp(deps.moshi.kotlin.codegen)
|
||||||
implementation(deps.kotlin.serialization)
|
// endregion
|
||||||
implementation(deps.jodatime)
|
|
||||||
|
// region Domain models
|
||||||
|
api(projects.domain.models)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -1,10 +1,4 @@
|
||||||
plugins {
|
plugins {
|
||||||
alias(deps.plugins.kotlin.jvm)
|
alias(deps.plugins.kotlin.jvm)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
/** Project - Domain */
|
|
||||||
api(projects.domain.models)
|
|
||||||
implementation(projects.domain.payment.models)
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,24 +1,4 @@
|
||||||
plugins {
|
plugins {
|
||||||
alias(deps.plugins.kotlin.jvm)
|
alias(deps.plugins.kotlin.jvm)
|
||||||
alias(deps.plugins.kotlin.serialization)
|
|
||||||
alias(deps.plugins.ksp)
|
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
|
||||||
/** Project - Core */
|
|
||||||
implementation(projects.core.error)
|
|
||||||
|
|
||||||
/** Domain models */
|
|
||||||
implementation(projects.domain.models)
|
|
||||||
|
|
||||||
/** Libs - Tangem */
|
|
||||||
implementation(tangemDeps.card.core)
|
|
||||||
|
|
||||||
/** Libs - Other */
|
|
||||||
implementation(deps.moshi.adapters)
|
|
||||||
implementation(deps.kotlin.serialization)
|
|
||||||
implementation(deps.jodatime)
|
|
||||||
implementation(deps.moshi.kotlin)
|
|
||||||
ksp(deps.moshi.kotlin.codegen)
|
|
||||||
}
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
alias(deps.plugins.android.library)
|
alias(deps.plugins.android.library)
|
||||||
alias(deps.plugins.kotlin.android)
|
alias(deps.plugins.kotlin.android)
|
||||||
alias(deps.plugins.kotlin.kapt)
|
|
||||||
alias(deps.plugins.hilt.android)
|
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -11,14 +9,16 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
/** Domain */
|
|
||||||
implementation(projects.domain.models)
|
|
||||||
|
|
||||||
/** Other */
|
// region Kotlin
|
||||||
implementation(deps.arrow.core)
|
api(deps.kotlin.coroutines)
|
||||||
implementation(deps.kotlin.coroutines)
|
// endregion
|
||||||
|
|
||||||
/** DI */
|
// region Other libraries
|
||||||
implementation(deps.hilt.android)
|
api(deps.arrow.core)
|
||||||
kapt(deps.hilt.kapt)
|
// endregion
|
||||||
|
|
||||||
|
// region Domain models
|
||||||
|
api(projects.domain.models)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -10,14 +10,22 @@ android {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
/** Domain */
|
// region Kotlin
|
||||||
api(projects.domain.models)
|
api(deps.kotlin.coroutines)
|
||||||
implementation(projects.domain.account)
|
// endregion
|
||||||
implementation(projects.domain.common)
|
|
||||||
implementation(projects.domain.networks)
|
|
||||||
implementation(projects.domain.qrScanning.models)
|
|
||||||
implementation(projects.domain.tokens.models)
|
|
||||||
|
|
||||||
implementation(deps.kotlin.coroutines)
|
// region Other libraries
|
||||||
implementation(deps.arrow.core)
|
api(deps.arrow.core)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain
|
||||||
|
api(projects.domain.account)
|
||||||
|
api(projects.domain.common)
|
||||||
|
api(projects.domain.networks)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain models
|
||||||
|
api(projects.domain.models)
|
||||||
|
api(projects.domain.qrScanning.models)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -4,6 +4,7 @@ plugins {
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
/** Domain */
|
// region Domain models
|
||||||
implementation(projects.domain.models)
|
api(projects.domain.models)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -4,8 +4,13 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
|
// region Domain
|
||||||
api(projects.domain.core)
|
api(projects.domain.core)
|
||||||
api(projects.domain.models)
|
api(projects.domain.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Tests
|
||||||
testImplementation(projects.test.core)
|
testImplementation(projects.test.core)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -4,8 +4,12 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(deps.kotlin.coroutines)
|
|
||||||
implementation(deps.arrow.core)
|
// region Kotlin
|
||||||
implementation(projects.domain.balanceHiding.models)
|
api(deps.kotlin.coroutines)
|
||||||
implementation(projects.domain.wallets.models)
|
// endregion
|
||||||
|
|
||||||
|
// region Other libraries
|
||||||
|
api(deps.arrow.core)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -9,28 +9,42 @@ android {
|
||||||
namespace = "com.tangem.domain.staking"
|
namespace = "com.tangem.domain.staking"
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
api(projects.domain.staking.models)
|
|
||||||
api(projects.domain.core)
|
|
||||||
api(projects.core.analytics)
|
|
||||||
api(projects.core.utils)
|
|
||||||
|
|
||||||
|
// region Kotlin
|
||||||
|
api(deps.kotlin.coroutines)
|
||||||
implementation(deps.kotlin.datetime)
|
implementation(deps.kotlin.datetime)
|
||||||
implementation(deps.kotlin.serialization)
|
implementation(deps.kotlin.serialization)
|
||||||
implementation(deps.jodatime)
|
// endregion
|
||||||
|
|
||||||
implementation(projects.domain.legacy)
|
// region Other libraries
|
||||||
implementation(projects.domain.walletManager) // TODO refactor to use from data module
|
api(deps.arrow.core)
|
||||||
implementation(projects.domain.models)
|
api(tangemDeps.blockchain) {
|
||||||
implementation(projects.domain.tokens.models)
|
|
||||||
implementation(projects.domain.wallets.models)
|
|
||||||
|
|
||||||
implementation(tangemDeps.blockchain) {
|
|
||||||
exclude(module = "joda-time")
|
exclude(module = "joda-time")
|
||||||
}
|
}
|
||||||
implementation(projects.libs.crypto)
|
// endregion
|
||||||
implementation(projects.libs.blockchainSdk)
|
|
||||||
|
|
||||||
testImplementation(tangemDeps.card.core)
|
// region Core modules
|
||||||
|
api(projects.core.analytics)
|
||||||
|
api(projects.core.analytics.models)
|
||||||
|
implementation(projects.core.utils)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain
|
||||||
|
api(projects.domain.core)
|
||||||
|
api(projects.domain.models)
|
||||||
|
api(projects.domain.walletManager) // TODO refactor to use from data module
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain models
|
||||||
|
api(projects.domain.staking.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Libs
|
||||||
|
implementation(projects.libs.blockchainSdk)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Tests
|
||||||
testImplementation(projects.common.test)
|
testImplementation(projects.common.test)
|
||||||
testImplementation(projects.test.core)
|
testImplementation(projects.test.core)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
import com.tangem.plugin.configuration.configurations.extension.kaptForObfuscatingVariants
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
alias(deps.plugins.kotlin.jvm)
|
alias(deps.plugins.kotlin.jvm)
|
||||||
alias(deps.plugins.kotlin.serialization)
|
alias(deps.plugins.kotlin.serialization)
|
||||||
|
|
@ -8,13 +6,18 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(projects.domain.core)
|
|
||||||
implementation(projects.domain.models)
|
|
||||||
|
|
||||||
implementation(deps.kotlin.datetime)
|
// region Kotlin
|
||||||
implementation(deps.kotlin.serialization)
|
api(deps.kotlin.serialization)
|
||||||
implementation(deps.jodatime)
|
// endregion
|
||||||
|
|
||||||
implementation(deps.moshi)
|
// region Other libraries
|
||||||
|
api(deps.jodatime)
|
||||||
|
api(deps.moshi)
|
||||||
ksp(deps.moshi.kotlin.codegen)
|
ksp(deps.moshi.kotlin.codegen)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain models
|
||||||
|
api(projects.domain.models)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -4,11 +4,20 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(projects.domain.models)
|
|
||||||
implementation(projects.domain.stories.models)
|
|
||||||
implementation(projects.domain.settings)
|
|
||||||
implementation(projects.domain.wallets.models)
|
|
||||||
|
|
||||||
implementation(deps.kotlin.coroutines)
|
// region Kotlin
|
||||||
implementation(deps.arrow.core)
|
api(deps.kotlin.coroutines)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Other libraries
|
||||||
|
api(deps.arrow.core)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain
|
||||||
|
api(projects.domain.settings)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain models
|
||||||
|
api(projects.domain.stories.models)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
import org.gradle.kotlin.dsl.projects
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
alias(deps.plugins.android.library)
|
alias(deps.plugins.android.library)
|
||||||
alias(deps.plugins.kotlin.android)
|
alias(deps.plugins.kotlin.android)
|
||||||
|
|
@ -11,28 +9,31 @@ android {
|
||||||
namespace = "com.tangem.domain.swap"
|
namespace = "com.tangem.domain.swap"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
/** Domain */
|
// region Kotlin
|
||||||
implementation(projects.domain.models)
|
api(deps.kotlin.coroutines)
|
||||||
implementation(projects.domain.express.models)
|
// endregion
|
||||||
implementation(projects.domain.swap.models)
|
|
||||||
implementation(projects.domain.wallets.models)
|
|
||||||
implementation(projects.domain.tokens.models)
|
|
||||||
|
|
||||||
/** Util */
|
// region Other libraries
|
||||||
implementation(projects.core.utils)
|
api(deps.arrow.core)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Core modules
|
||||||
implementation(projects.core.datasource)
|
implementation(projects.core.datasource)
|
||||||
|
implementation(projects.core.utils)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/** Other */
|
// region Domain models
|
||||||
implementation(deps.arrow.core)
|
api(projects.domain.express.models)
|
||||||
implementation(deps.kotlin.coroutines)
|
api(projects.domain.models)
|
||||||
implementation(deps.jodatime)
|
api(projects.domain.swap.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/** Tests */
|
// region Tests
|
||||||
testImplementation(deps.test.junit5)
|
|
||||||
testImplementation(deps.test.truth)
|
|
||||||
testImplementation(deps.test.mockk)
|
|
||||||
testImplementation(deps.test.coroutine)
|
testImplementation(deps.test.coroutine)
|
||||||
|
testImplementation(deps.test.junit5)
|
||||||
|
testImplementation(deps.test.mockk)
|
||||||
|
testImplementation(deps.test.truth)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue