Updated on 2026-08-14
This commit is contained in:
parent
e4f3c1fa3a
commit
c509046a8b
16 changed files with 384 additions and 261 deletions
|
|
@ -2,6 +2,7 @@ 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.kotlin.kapt)
|
||||||
|
alias(deps.plugins.ksp)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -10,41 +11,21 @@ android {
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
implementation(projects.features.virtualAccounts.details.api) // VIRTUAL_ACCOUNTS_ENABLED
|
// region Kotlin
|
||||||
|
implementation(deps.kotlin.coroutines)
|
||||||
// region Project - Common
|
|
||||||
implementation(projects.common.ui) // It's needed for getting AccountName.DefaultMain value
|
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Project - Core
|
// region Other libraries
|
||||||
implementation(projects.core.datasource)
|
api(deps.moshi)
|
||||||
implementation(projects.core.configToggles)
|
ksp(deps.moshi.kotlin.codegen)
|
||||||
implementation(projects.core.res)
|
implementation(deps.androidx.annotation)
|
||||||
api(projects.core.utils)
|
implementation(deps.androidx.datastore)
|
||||||
// endregion
|
implementation(deps.arrow.core)
|
||||||
|
|
||||||
// region Project - Domain
|
|
||||||
api(projects.domain.account)
|
|
||||||
api(projects.domain.card)
|
|
||||||
api(projects.domain.common)
|
|
||||||
api(projects.domain.models)
|
|
||||||
api(projects.domain.tokens)
|
|
||||||
api(projects.domain.wallets)
|
|
||||||
api(projects.domain.visa)
|
|
||||||
// endregion
|
|
||||||
|
|
||||||
// region Project - Data
|
|
||||||
implementation(projects.data.common)
|
|
||||||
// endregion
|
|
||||||
|
|
||||||
// region Project - Libs
|
|
||||||
implementation(projects.libs.crypto)
|
|
||||||
implementation(projects.libs.blockchainSdk)
|
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Tangem dependencies
|
// region Tangem dependencies
|
||||||
implementation(tangemDeps.card.core)
|
|
||||||
implementation(tangemDeps.blockchain)
|
implementation(tangemDeps.blockchain)
|
||||||
|
implementation(tangemDeps.card.core)
|
||||||
implementation(tangemDeps.hot.core)
|
implementation(tangemDeps.hot.core)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
|
|
@ -53,20 +34,44 @@ dependencies {
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region AndroidX libraries
|
// region Project - Core
|
||||||
implementation(deps.androidx.datastore)
|
api(projects.core.configToggles)
|
||||||
|
api(projects.core.datasource)
|
||||||
|
api(projects.core.utils)
|
||||||
|
implementation(projects.core.res)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Other Dependencies
|
// region Project - Domain
|
||||||
implementation(deps.arrow.core)
|
api(projects.domain.account)
|
||||||
implementation(deps.kotlin.coroutines)
|
api(projects.domain.common)
|
||||||
implementation(deps.moshi)
|
api(projects.domain.core)
|
||||||
implementation(deps.moshi.kotlin)
|
api(projects.domain.models)
|
||||||
|
api(projects.domain.tokens)
|
||||||
|
implementation(projects.domain.card)
|
||||||
|
runtimeOnly(projects.domain.visa)
|
||||||
|
runtimeOnly(projects.domain.wallets)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Data
|
||||||
|
api(projects.data.common)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Features
|
||||||
|
api(projects.features.virtualAccounts.details.api) // VIRTUAL_ACCOUNTS_ENABLED
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Common
|
||||||
|
implementation(projects.common.ui) // It's needed for getting AccountName.DefaultMain value
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Libs
|
||||||
|
implementation(projects.libs.blockchainSdk)
|
||||||
|
implementation(projects.libs.crypto)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Test
|
// region Test
|
||||||
|
testImplementation(deps.test.turbine)
|
||||||
testImplementation(projects.common.test)
|
testImplementation(projects.common.test)
|
||||||
testImplementation(projects.test.core)
|
testImplementation(projects.test.core)
|
||||||
testImplementation(deps.test.turbine)
|
|
||||||
// endregion
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -11,27 +11,16 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// region Project - Core
|
|
||||||
implementation(projects.core.datasource)
|
|
||||||
implementation(projects.core.utils)
|
|
||||||
// endregion
|
|
||||||
|
|
||||||
// region Project - Data
|
// region Kotlin
|
||||||
implementation(projects.data.common)
|
api(deps.kotlin.coroutines)
|
||||||
// endregion
|
implementation(deps.kotlin.serialization)
|
||||||
|
|
||||||
// region Project - Domain
|
|
||||||
implementation(projects.domain.addressBook)
|
|
||||||
implementation(projects.domain.common)
|
|
||||||
implementation(projects.domain.models)
|
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region SDK
|
// region SDK
|
||||||
implementation(deps.androidx.datastore)
|
implementation(deps.androidx.datastore)
|
||||||
implementation(deps.arrow.core)
|
implementation(deps.arrow.core)
|
||||||
implementation(deps.jodatime)
|
implementation(deps.jodatime)
|
||||||
implementation(deps.kotlin.coroutines)
|
|
||||||
implementation(deps.kotlin.serialization)
|
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region DI
|
// region DI
|
||||||
|
|
@ -39,8 +28,22 @@ dependencies {
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Core
|
||||||
|
api(projects.core.datasource)
|
||||||
|
api(projects.core.utils)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Data
|
||||||
|
api(projects.data.common)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Domain
|
||||||
|
api(projects.domain.addressBook)
|
||||||
|
api(projects.domain.common)
|
||||||
|
api(projects.domain.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
// region Testing
|
// region Testing
|
||||||
testImplementation(projects.test.core)
|
testImplementation(projects.test.core)
|
||||||
testImplementation(deps.moshi.kotlin)
|
|
||||||
// endregion
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -11,26 +11,27 @@ android {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
/** Project - Domain */
|
// region Kotlin
|
||||||
implementation(projects.domain.analytics)
|
implementation(deps.kotlin.coroutines)
|
||||||
implementation(projects.domain.models)
|
// endregion
|
||||||
implementation(projects.domain.wallets.models)
|
|
||||||
|
|
||||||
/** Project - Analytics */
|
// region Other libraries
|
||||||
implementation(projects.core.analytics.models)
|
|
||||||
implementation(projects.core.utils)
|
|
||||||
|
|
||||||
/** Project - Data */
|
|
||||||
implementation(projects.core.datasource)
|
|
||||||
implementation(projects.data.common)
|
|
||||||
|
|
||||||
/** AndroidX */
|
|
||||||
implementation(deps.androidx.datastore)
|
implementation(deps.androidx.datastore)
|
||||||
|
implementation(deps.moshi)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/** DI */
|
// region DI
|
||||||
implementation(deps.hilt.core)
|
implementation(deps.hilt.core)
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/** Other */
|
// region Project - Core
|
||||||
implementation(deps.kotlin.coroutines)
|
api(projects.core.datasource)
|
||||||
|
implementation(projects.core.utils)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Domain
|
||||||
|
api(projects.domain.analytics)
|
||||||
|
implementation(projects.domain.models)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -11,26 +11,31 @@ android {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
/** Project - Domain */
|
// region Kotlin
|
||||||
implementation(projects.domain.core)
|
implementation(deps.kotlin.coroutines)
|
||||||
implementation(projects.domain.appCurrency)
|
// endregion
|
||||||
implementation(projects.domain.appCurrency.models)
|
|
||||||
|
|
||||||
/** Project - Data */
|
// region Other libraries
|
||||||
implementation(projects.core.datasource)
|
implementation(deps.arrow.core)
|
||||||
implementation(projects.data.common)
|
implementation(deps.jodatime)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/** Project - Utils */
|
// region DI
|
||||||
implementation(projects.core.utils)
|
|
||||||
|
|
||||||
/** AndroidX */
|
|
||||||
implementation(deps.androidx.datastore)
|
|
||||||
|
|
||||||
/** DI */
|
|
||||||
implementation(deps.hilt.core)
|
implementation(deps.hilt.core)
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/** Other */
|
// region Project - Core
|
||||||
implementation(deps.jodatime)
|
api(projects.core.datasource)
|
||||||
implementation(deps.kotlin.coroutines)
|
api(projects.core.utils)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Data
|
||||||
|
api(projects.data.common)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Domain
|
||||||
|
api(projects.domain.appCurrency)
|
||||||
|
implementation(projects.domain.appCurrency.models)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -11,23 +11,27 @@ android {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
/** Project - Domain */
|
// region Kotlin
|
||||||
implementation(projects.domain.appTheme)
|
implementation(deps.kotlin.coroutines)
|
||||||
implementation(projects.domain.appTheme.models)
|
// endregion
|
||||||
|
|
||||||
/** Project - Data */
|
// region Other libraries
|
||||||
implementation(projects.core.datasource)
|
implementation(deps.androidx.datastore)
|
||||||
|
implementation(deps.moshi)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/** Project - Utils */
|
// region DI
|
||||||
implementation(projects.core.utils)
|
|
||||||
|
|
||||||
/** DI */
|
|
||||||
implementation(deps.hilt.core)
|
implementation(deps.hilt.core)
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/** Other */
|
// region Project - Core
|
||||||
implementation(deps.kotlin.coroutines)
|
api(projects.core.datasource)
|
||||||
|
implementation(projects.core.utils)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/** Local storages */
|
// region Project - Domain
|
||||||
implementation(deps.androidx.datastore)
|
api(projects.domain.appTheme)
|
||||||
|
implementation(projects.domain.appTheme.models)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -11,10 +11,17 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(projects.core.datasource)
|
|
||||||
|
|
||||||
implementation(projects.domain.appsflyer)
|
|
||||||
|
|
||||||
|
// region DI
|
||||||
implementation(deps.hilt.android)
|
implementation(deps.hilt.android)
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Core modules
|
||||||
|
api(projects.core.datasource)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain
|
||||||
|
api(projects.domain.appsflyer)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -11,27 +11,45 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(projects.domain.assetsdiscovery)
|
|
||||||
implementation(projects.domain.tokens)
|
|
||||||
implementation(projects.domain.tokens.models)
|
|
||||||
implementation(projects.domain.models)
|
|
||||||
implementation(projects.domain.walletManager)
|
|
||||||
implementation(projects.domain.wallets)
|
|
||||||
implementation(projects.data.common)
|
|
||||||
implementation(projects.data.walletManager)
|
|
||||||
implementation(projects.libs.blockchainSdk)
|
|
||||||
implementation(projects.libs.tangemSdkApi)
|
|
||||||
implementation(projects.core.datasource)
|
|
||||||
implementation(projects.core.utils)
|
|
||||||
|
|
||||||
|
// region Kotlin
|
||||||
|
implementation(deps.kotlin.coroutines)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Other libraries
|
||||||
|
api(deps.moshi)
|
||||||
|
implementation(deps.androidx.datastore)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Tangem SDK
|
||||||
implementation(tangemDeps.blockchain)
|
implementation(tangemDeps.blockchain)
|
||||||
implementation(tangemDeps.card.core)
|
implementation(tangemDeps.card.core)
|
||||||
|
// endregion
|
||||||
|
|
||||||
implementation(deps.androidx.datastore)
|
// region DI
|
||||||
|
|
||||||
implementation(deps.hilt.android)
|
implementation(deps.hilt.android)
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
// endregion
|
||||||
|
|
||||||
implementation(deps.kotlin.coroutines)
|
// region Core modules
|
||||||
implementation(deps.moshi)
|
api(projects.core.datasource)
|
||||||
|
api(projects.core.utils)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Data
|
||||||
|
api(projects.data.common)
|
||||||
|
implementation(projects.data.walletManager)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain
|
||||||
|
api(projects.domain.assetsdiscovery)
|
||||||
|
api(projects.domain.common)
|
||||||
|
api(projects.domain.models)
|
||||||
|
implementation(projects.domain.wallets)
|
||||||
|
runtimeOnly(projects.domain.tokens)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Libs
|
||||||
|
api(projects.libs.blockchainSdk)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -11,18 +11,29 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(deps.androidx.datastore)
|
|
||||||
implementation(deps.androidx.appCompat)
|
|
||||||
|
|
||||||
/** DI */
|
// region Kotlin
|
||||||
|
api(deps.kotlin.coroutines)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Other libraries
|
||||||
|
api(deps.lifecycle.runtime.ktx)
|
||||||
|
implementation(deps.androidx.datastore)
|
||||||
|
implementation(deps.moshi)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region DI
|
||||||
implementation(deps.hilt.android)
|
implementation(deps.hilt.android)
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
// endregion
|
||||||
|
|
||||||
implementation(deps.kotlin.coroutines)
|
// region Core modules
|
||||||
|
api(projects.core.datasource)
|
||||||
implementation(projects.core.utils)
|
implementation(projects.core.utils)
|
||||||
implementation(projects.core.datasource)
|
// endregion
|
||||||
|
|
||||||
implementation(projects.domain.balanceHiding)
|
// region Domain
|
||||||
|
api(projects.domain.balanceHiding)
|
||||||
implementation(projects.domain.balanceHiding.models)
|
implementation(projects.domain.balanceHiding.models)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,35 +10,43 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
/* Project - Domain */
|
|
||||||
implementation(projects.data.common)
|
|
||||||
implementation(projects.domain.models)
|
|
||||||
implementation(projects.domain.blockaid)
|
|
||||||
implementation(projects.domain.blockaid.models)
|
|
||||||
|
|
||||||
/* Project - Data */
|
// region Kotlin
|
||||||
implementation(projects.core.datasource)
|
implementation(deps.kotlin.coroutines)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/* Project - Core */
|
// region Other libraries
|
||||||
implementation(projects.core.utils)
|
api(deps.arrow.core)
|
||||||
implementation(projects.libs.blockchainSdk)
|
// endregion
|
||||||
|
|
||||||
/* DI */
|
// region Tangem libraries
|
||||||
|
api(tangemDeps.blockchain)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region DI
|
||||||
implementation(deps.hilt.core)
|
implementation(deps.hilt.core)
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/* Tangem libraries */
|
// region Core modules
|
||||||
implementation(tangemDeps.blockchain)
|
api(projects.core.datasource)
|
||||||
implementation(tangemDeps.card.core)
|
api(projects.core.utils)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/* Other */
|
// region Domain
|
||||||
implementation(deps.kotlin.coroutines)
|
api(projects.domain.blockaid)
|
||||||
implementation(deps.arrow.core)
|
api(projects.domain.blockaid.models)
|
||||||
|
api(projects.domain.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/* Tests */
|
// region Libs
|
||||||
|
implementation(projects.libs.blockchainSdk)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region 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.turbine)
|
|
||||||
testImplementation(deps.test.truth)
|
testImplementation(deps.test.truth)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -11,27 +11,40 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(deps.androidx.datastore)
|
|
||||||
|
|
||||||
implementation(tangemDeps.blockchain) {
|
// region Kotlin
|
||||||
|
implementation(deps.kotlin.coroutines)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Other libraries
|
||||||
|
api(deps.androidx.fragment)
|
||||||
|
implementation(deps.androidx.datastore)
|
||||||
|
implementation(deps.moshi)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Tangem SDK
|
||||||
|
api(tangemDeps.blockchain) {
|
||||||
exclude(module = "joda-time")
|
exclude(module = "joda-time")
|
||||||
}
|
}
|
||||||
|
api(tangemDeps.card.core)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region DI
|
||||||
implementation(deps.hilt.android)
|
implementation(deps.hilt.android)
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
// endregion
|
||||||
|
|
||||||
implementation(tangemDeps.card.android)
|
// region Core modules
|
||||||
implementation(tangemDeps.card.core)
|
api(projects.core.datasource)
|
||||||
|
|
||||||
implementation(projects.core.datasource)
|
|
||||||
implementation(projects.core.utils)
|
implementation(projects.core.utils)
|
||||||
|
// endregion
|
||||||
|
|
||||||
implementation(projects.libs.blockchainSdk)
|
// region Domain
|
||||||
|
api(projects.domain.card)
|
||||||
implementation(projects.domain.card)
|
api(projects.domain.models)
|
||||||
implementation(projects.domain.models)
|
// endregion
|
||||||
|
|
||||||
// region Tests
|
// region Tests
|
||||||
testImplementation(projects.test.core)
|
testImplementation(projects.test.core)
|
||||||
// end
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -9,41 +9,56 @@ android {
|
||||||
namespace = "com.tangem.data.common"
|
namespace = "com.tangem.data.common"
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
/* Core */
|
|
||||||
implementation(projects.core.datasource)
|
|
||||||
implementation(projects.core.utils)
|
|
||||||
|
|
||||||
/* Domain */
|
// region Kotlin
|
||||||
implementation(projects.domain.account)
|
api(deps.kotlin.coroutines)
|
||||||
implementation(projects.domain.demo)
|
// endregion
|
||||||
implementation(projects.domain.legacy)
|
|
||||||
implementation(projects.domain.card)
|
|
||||||
implementation(projects.domain.models)
|
|
||||||
implementation(projects.domain.tokens.models)
|
|
||||||
implementation(projects.domain.wallets.models)
|
|
||||||
implementation(projects.domain.express.models)
|
|
||||||
implementation(projects.domain.networks)
|
|
||||||
implementation(projects.domain.walletManager)
|
|
||||||
implementation(projects.domain.wallets)
|
|
||||||
|
|
||||||
/* Libs - SDK */
|
// region Other libraries
|
||||||
implementation(tangemDeps.blockchain)
|
api(deps.arrow.core)
|
||||||
|
api(deps.jodatime)
|
||||||
|
implementation(deps.androidx.annotation)
|
||||||
|
implementation(deps.androidx.datastore)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Libs - SDK
|
||||||
|
api(tangemDeps.blockchain)
|
||||||
implementation(tangemDeps.card.core)
|
implementation(tangemDeps.card.core)
|
||||||
implementation(projects.libs.crypto)
|
// endregion
|
||||||
implementation(projects.libs.blockchainSdk)
|
|
||||||
|
|
||||||
/* DI */
|
// region DI
|
||||||
implementation(deps.hilt.android)
|
implementation(deps.hilt.android)
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/* Libs - Other */
|
// region Core
|
||||||
implementation(deps.androidx.datastore)
|
api(projects.core.datasource)
|
||||||
implementation(deps.arrow.core)
|
api(projects.core.utils)
|
||||||
implementation(deps.jodatime)
|
// endregion
|
||||||
implementation(deps.kotlin.coroutines)
|
|
||||||
|
|
||||||
/* Test */
|
// region Domain
|
||||||
|
api(projects.domain.common)
|
||||||
|
api(projects.domain.walletManager)
|
||||||
|
api(projects.domain.wallets)
|
||||||
|
implementation(projects.domain.card)
|
||||||
|
implementation(projects.domain.core)
|
||||||
|
runtimeOnly(projects.domain.account)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain models
|
||||||
|
api(projects.domain.demo.models)
|
||||||
|
api(projects.domain.express.models)
|
||||||
|
api(projects.domain.models)
|
||||||
|
implementation(projects.domain.wallets.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Libs
|
||||||
|
api(projects.libs.blockchainSdk)
|
||||||
|
implementation(projects.libs.crypto)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Test
|
||||||
testImplementation(projects.common.test)
|
testImplementation(projects.common.test)
|
||||||
testImplementation(projects.test.core)
|
testImplementation(projects.test.core)
|
||||||
testImplementation(deps.moshi)
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -9,28 +9,17 @@ android {
|
||||||
namespace = "com.tangem.data.dynamicaddresses"
|
namespace = "com.tangem.data.dynamicaddresses"
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
// region Project - Core
|
|
||||||
implementation(projects.core.configToggles)
|
// region Kotlin
|
||||||
implementation(projects.core.datasource)
|
implementation(deps.kotlin.coroutines)
|
||||||
implementation(projects.core.utils)
|
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Project - Data
|
// region Other libraries
|
||||||
implementation(projects.data.common)
|
implementation(deps.arrow.core)
|
||||||
// endregion
|
|
||||||
|
|
||||||
// region Project - Domain
|
|
||||||
implementation(projects.domain.account)
|
|
||||||
implementation(projects.domain.common)
|
|
||||||
implementation(projects.domain.dynamicAddresses)
|
|
||||||
implementation(projects.domain.dynamicAddresses.models)
|
|
||||||
implementation(projects.domain.models)
|
|
||||||
implementation(projects.domain.walletManager)
|
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Project - Libs
|
// region Project - Libs
|
||||||
implementation(tangemDeps.blockchain) { exclude(module = "joda-time") }
|
implementation(tangemDeps.blockchain) { exclude(module = "joda-time") }
|
||||||
implementation(tangemDeps.card.core)
|
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region DI
|
// region DI
|
||||||
|
|
@ -38,7 +27,29 @@ dependencies {
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Core
|
||||||
|
api(projects.core.configToggles)
|
||||||
|
api(projects.core.utils)
|
||||||
|
implementation(projects.core.datasource)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Data
|
||||||
|
api(projects.data.common)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Domain
|
||||||
|
api(projects.domain.account)
|
||||||
|
api(projects.domain.common)
|
||||||
|
api(projects.domain.dynamicAddresses)
|
||||||
|
api(projects.domain.models)
|
||||||
|
api(projects.domain.walletManager)
|
||||||
|
implementation(projects.domain.dynamicAddresses.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
// region Testing
|
// region Testing
|
||||||
testImplementation(projects.test.core)
|
testImplementation(deps.test.coroutine)
|
||||||
|
testImplementation(deps.test.junit5)
|
||||||
|
testImplementation(deps.test.mockk)
|
||||||
|
testImplementation(deps.test.truth)
|
||||||
// endregion
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -10,23 +10,14 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// region Project - Core
|
|
||||||
implementation(projects.core.datasource)
|
// region Kotlin
|
||||||
api(projects.core.utils)
|
implementation(deps.kotlin.coroutines)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Project - Data
|
// region Other libraries
|
||||||
implementation(projects.data.common)
|
implementation(deps.arrow.core)
|
||||||
// endregion
|
implementation(tangemDeps.blockchain)
|
||||||
|
|
||||||
// region Project - Domain
|
|
||||||
implementation(projects.domain.earn)
|
|
||||||
implementation(projects.domain.common)
|
|
||||||
implementation(projects.domain.account.status)
|
|
||||||
// endregion
|
|
||||||
|
|
||||||
// region Project - Libs
|
|
||||||
implementation(projects.libs.blockchainSdk)
|
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region DI
|
// region DI
|
||||||
|
|
@ -34,10 +25,24 @@ dependencies {
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Other libraries
|
// region Project - Core
|
||||||
implementation(deps.androidx.datastore)
|
api(projects.core.datasource)
|
||||||
implementation(deps.moshi.kotlin)
|
api(projects.core.utils)
|
||||||
implementation(tangemDeps.blockchain)
|
implementation(projects.core.pagination)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Data
|
||||||
|
implementation(projects.data.common)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Domain
|
||||||
|
api(projects.domain.common)
|
||||||
|
api(projects.domain.earn)
|
||||||
|
implementation(projects.domain.models)
|
||||||
|
runtimeOnly(projects.domain.account.status)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Libs
|
||||||
|
api(projects.libs.blockchainSdk)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -3,7 +3,6 @@ plugins {
|
||||||
alias(deps.plugins.kotlin.android)
|
alias(deps.plugins.kotlin.android)
|
||||||
alias(deps.plugins.kotlin.kapt)
|
alias(deps.plugins.kotlin.kapt)
|
||||||
alias(deps.plugins.hilt.android)
|
alias(deps.plugins.hilt.android)
|
||||||
alias(deps.plugins.ksp)
|
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -13,26 +12,35 @@ android {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
/** Core */
|
// region Kotlin
|
||||||
implementation(projects.core.datasource)
|
implementation(deps.kotlin.coroutines)
|
||||||
implementation(projects.core.utils)
|
// endregion
|
||||||
|
|
||||||
/** Data */
|
// region Other libraries
|
||||||
implementation(projects.data.common)
|
api(deps.moshi)
|
||||||
|
implementation(deps.arrow.core)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/** Domain */
|
// region DI
|
||||||
implementation(projects.domain.common)
|
|
||||||
implementation(projects.domain.express.models)
|
|
||||||
implementation(projects.domain.express)
|
|
||||||
implementation(projects.domain.wallets.models)
|
|
||||||
implementation(projects.domain.txhistory)
|
|
||||||
api(projects.domain.models)
|
|
||||||
|
|
||||||
/** Other */
|
|
||||||
implementation(deps.moshi)
|
|
||||||
implementation(deps.moshi.kotlin)
|
|
||||||
|
|
||||||
/** DI */
|
|
||||||
implementation(deps.hilt.android)
|
implementation(deps.hilt.android)
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Core
|
||||||
|
api(projects.core.datasource)
|
||||||
|
api(projects.core.utils)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Data
|
||||||
|
implementation(projects.data.common)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain
|
||||||
|
api(projects.domain.common)
|
||||||
|
api(projects.domain.express)
|
||||||
|
api(projects.domain.express.models)
|
||||||
|
api(projects.domain.txhistory)
|
||||||
|
implementation(projects.domain.core)
|
||||||
|
implementation(projects.domain.models)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -10,8 +10,9 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// region AndroidX libraries
|
|
||||||
implementation(deps.androidx.datastore)
|
// region Kotlin
|
||||||
|
implementation(deps.kotlin.coroutines)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region DI
|
// region DI
|
||||||
|
|
@ -24,27 +25,23 @@ dependencies {
|
||||||
implementation(tangemDeps.card.core)
|
implementation(tangemDeps.card.core)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// Other libraries
|
|
||||||
// endregion
|
|
||||||
|
|
||||||
// region Core modules
|
// region Core modules
|
||||||
implementation(projects.core.configToggles)
|
api(projects.core.configToggles)
|
||||||
implementation(projects.core.datasource)
|
api(projects.core.datasource)
|
||||||
implementation(projects.core.navigation)
|
api(projects.core.navigation)
|
||||||
implementation(projects.core.utils)
|
api(projects.core.utils)
|
||||||
|
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// Feature modules
|
// region Domain
|
||||||
implementation(projects.features.hotWallet.api)
|
api(projects.domain.common)
|
||||||
|
api(projects.domain.feedback)
|
||||||
implementation(projects.domain.feedback)
|
|
||||||
implementation(projects.domain.feedback.models)
|
|
||||||
implementation(projects.domain.legacy)
|
|
||||||
implementation(projects.domain.card)
|
implementation(projects.domain.card)
|
||||||
|
implementation(projects.domain.feedback.models)
|
||||||
implementation(projects.domain.models)
|
implementation(projects.domain.models)
|
||||||
implementation(projects.domain.wallets)
|
implementation(projects.domain.wallets)
|
||||||
implementation(projects.domain.wallets.models)
|
// endregion
|
||||||
|
|
||||||
|
// region Libs
|
||||||
implementation(projects.libs.blockchainSdk)
|
implementation(projects.libs.blockchainSdk)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -11,17 +11,29 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(projects.core.datasource)
|
|
||||||
implementation(projects.core.utils)
|
|
||||||
|
|
||||||
implementation(projects.domain.hotWallet)
|
// region Kotlin
|
||||||
implementation(projects.domain.models)
|
implementation(deps.kotlin.coroutines)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Other libraries
|
||||||
|
implementation(deps.androidx.annotation)
|
||||||
|
implementation(deps.androidx.datastore)
|
||||||
|
implementation(deps.moshi)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region DI
|
||||||
implementation(deps.hilt.android)
|
implementation(deps.hilt.android)
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
// endregion
|
||||||
|
|
||||||
implementation(deps.androidx.datastore)
|
// region Core modules
|
||||||
implementation(deps.kotlin.coroutines)
|
api(projects.core.datasource)
|
||||||
implementation(deps.moshi)
|
implementation(projects.core.utils)
|
||||||
implementation(deps.moshi.kotlin)
|
// endregion
|
||||||
|
|
||||||
|
// region Domain
|
||||||
|
api(projects.domain.hotWallet)
|
||||||
|
implementation(projects.domain.models)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue