Updated on 2026-08-14
This commit is contained in:
parent
0bfc7eee60
commit
47f1ccb854
15 changed files with 361 additions and 322 deletions
|
|
@ -4,7 +4,6 @@ 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")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -13,44 +12,52 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
/** Libs */
|
|
||||||
implementation(projects.libs.crypto)
|
|
||||||
|
|
||||||
/** Project - Domain */
|
// region Kotlin
|
||||||
implementation(projects.domain.account)
|
implementation(deps.kotlin.coroutines)
|
||||||
implementation(projects.domain.demo)
|
// endregion
|
||||||
implementation(projects.domain.models)
|
|
||||||
implementation(projects.domain.manageTokens)
|
|
||||||
implementation(projects.domain.card)
|
|
||||||
implementation(projects.domain.wallets)
|
|
||||||
implementation(projects.domain.tokens.models)
|
|
||||||
implementation(projects.domain.wallets.models)
|
|
||||||
implementation(projects.domain.legacy)
|
|
||||||
|
|
||||||
/** Project - Data */
|
// region Other libraries
|
||||||
implementation(projects.core.datasource)
|
implementation(deps.arrow.core)
|
||||||
implementation(projects.data.common)
|
kaptForObfuscatingVariants(deps.retrofit.response.type.keeper)
|
||||||
implementation(projects.data.tokens)
|
// endregion
|
||||||
|
|
||||||
/** Project - Utils */
|
// region Tangem SDKs
|
||||||
implementation(projects.core.utils)
|
|
||||||
implementation(projects.core.pagination)
|
|
||||||
implementation(projects.domain.legacy)
|
|
||||||
implementation(projects.libs.blockchainSdk)
|
|
||||||
|
|
||||||
/** Tangem SDKs */
|
|
||||||
implementation(tangemDeps.blockchain)
|
implementation(tangemDeps.blockchain)
|
||||||
implementation(tangemDeps.card.core)
|
implementation(tangemDeps.card.core)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/** AndroidX */
|
// region DI
|
||||||
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.moshi.kotlin)
|
api(projects.core.datasource)
|
||||||
ksp(deps.moshi.kotlin.codegen)
|
api(projects.core.utils)
|
||||||
kaptForObfuscatingVariants(deps.retrofit.response.type.keeper)
|
implementation(projects.core.pagination)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Data
|
||||||
|
api(projects.data.common)
|
||||||
|
runtimeOnly(projects.data.tokens)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Domain
|
||||||
|
api(projects.domain.common)
|
||||||
|
api(projects.domain.manageTokens)
|
||||||
|
implementation(projects.domain.card)
|
||||||
|
implementation(projects.domain.models)
|
||||||
|
implementation(projects.domain.wallets)
|
||||||
|
runtimeOnly(projects.domain.account)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Domain models
|
||||||
|
implementation(projects.domain.manageTokens.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Libs
|
||||||
|
api(projects.libs.blockchainSdk)
|
||||||
|
implementation(projects.libs.crypto)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -5,7 +5,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")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -14,39 +13,48 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
/** Libs */
|
|
||||||
implementation(projects.libs.crypto)
|
|
||||||
|
|
||||||
implementation(projects.core.datasource)
|
// region Kotlin
|
||||||
implementation(projects.core.utils)
|
implementation(deps.kotlin.coroutines)
|
||||||
implementation(projects.core.pagination)
|
// endregion
|
||||||
implementation(projects.core.analytics)
|
|
||||||
implementation(projects.core.analytics.models)
|
|
||||||
implementation(projects.core.configToggles)
|
|
||||||
|
|
||||||
implementation(projects.domain.legacy)
|
// region Other libraries
|
||||||
implementation(projects.domain.markets)
|
implementation(deps.arrow.core)
|
||||||
implementation(projects.domain.models)
|
implementation(deps.jodatime)
|
||||||
implementation(projects.domain.tokens.models)
|
implementation(tangemDeps.blockchain)
|
||||||
implementation(projects.domain.tokens)
|
kaptForObfuscatingVariants(deps.retrofit.response.type.keeper)
|
||||||
|
// endregion
|
||||||
implementation(projects.data.common)
|
|
||||||
|
|
||||||
implementation(projects.libs.blockchainSdk)
|
|
||||||
|
|
||||||
// region DI
|
// region DI
|
||||||
implementation(deps.hilt.android)
|
implementation(deps.hilt.android)
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Others dependencies
|
// region Core modules
|
||||||
implementation(deps.androidx.datastore)
|
api(projects.core.analytics)
|
||||||
implementation(deps.kotlin.coroutines)
|
api(projects.core.analytics.models)
|
||||||
implementation(deps.jodatime)
|
api(projects.core.datasource)
|
||||||
implementation(deps.moshi)
|
api(projects.core.utils)
|
||||||
implementation(deps.moshi.kotlin)
|
implementation(projects.core.pagination)
|
||||||
implementation(tangemDeps.blockchain)
|
// endregion
|
||||||
ksp(deps.moshi.kotlin.codegen)
|
|
||||||
kaptForObfuscatingVariants(deps.retrofit.response.type.keeper)
|
// region Data
|
||||||
|
api(projects.data.common)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain
|
||||||
|
api(projects.domain.common)
|
||||||
|
api(projects.domain.markets)
|
||||||
|
implementation(projects.domain.models)
|
||||||
|
runtimeOnly(projects.domain.tokens)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain models
|
||||||
|
implementation(projects.domain.markets.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Libs
|
||||||
|
api(projects.libs.blockchainSdk)
|
||||||
|
implementation(projects.libs.crypto)
|
||||||
// endregion
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,27 +9,18 @@ android {
|
||||||
namespace = "com.tangem.data.networks"
|
namespace = "com.tangem.data.networks"
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
// region Project - Core
|
|
||||||
implementation(projects.core.datasource)
|
// region Kotlin
|
||||||
implementation(projects.core.utils)
|
implementation(deps.kotlin.coroutines)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Project - Data
|
// region Other libraries
|
||||||
implementation(projects.data.common)
|
api(deps.moshi)
|
||||||
implementation(projects.data.dynamicAddresses)
|
implementation(deps.androidx.datastore)
|
||||||
|
implementation(deps.arrow.core)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Project - Domain
|
// region Project - Libs (SDK)
|
||||||
implementation(projects.domain.card)
|
|
||||||
implementation(projects.domain.common)
|
|
||||||
implementation(projects.domain.legacy)
|
|
||||||
implementation(projects.domain.models)
|
|
||||||
implementation(projects.domain.networks)
|
|
||||||
implementation(projects.domain.walletManager)
|
|
||||||
// endregion
|
|
||||||
|
|
||||||
// region Project - Libs
|
|
||||||
implementation(projects.libs.blockchainSdk)
|
|
||||||
implementation(tangemDeps.blockchain) { exclude(module = "joda-time") }
|
implementation(tangemDeps.blockchain) { exclude(module = "joda-time") }
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
|
|
@ -38,15 +29,32 @@ dependencies {
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Other libraries
|
// region Project - Core
|
||||||
implementation(deps.androidx.datastore)
|
api(projects.core.utils)
|
||||||
implementation(deps.moshi)
|
implementation(projects.core.datasource)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Data
|
||||||
|
api(projects.data.common)
|
||||||
|
api(projects.data.dynamicAddresses)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Domain
|
||||||
|
api(projects.domain.common)
|
||||||
|
api(projects.domain.core)
|
||||||
|
api(projects.domain.models)
|
||||||
|
api(projects.domain.networks)
|
||||||
|
api(projects.domain.walletManager)
|
||||||
|
runtimeOnly(projects.domain.card)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Libs
|
||||||
|
api(projects.libs.blockchainSdk)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Tests
|
// region Tests
|
||||||
testImplementation(tangemDeps.blockchain)
|
|
||||||
testImplementation(tangemDeps.card.core)
|
|
||||||
testImplementation(projects.common.test)
|
testImplementation(projects.common.test)
|
||||||
|
testImplementation(projects.domain.card)
|
||||||
testImplementation(projects.test.core)
|
testImplementation(projects.test.core)
|
||||||
// endregion
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -9,21 +9,13 @@ android {
|
||||||
namespace = "com.tangem.data.news"
|
namespace = "com.tangem.data.news"
|
||||||
}
|
}
|
||||||
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
|
|
||||||
|
|
||||||
// region Project - Domain
|
|
||||||
implementation(projects.domain.news)
|
|
||||||
// endregion
|
|
||||||
|
|
||||||
// region Project - Libs
|
|
||||||
implementation(projects.libs.blockchainSdk)
|
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region DI
|
// region DI
|
||||||
|
|
@ -31,16 +23,19 @@ 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(projects.core.pagination)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Domain
|
||||||
|
api(projects.domain.news)
|
||||||
|
implementation(projects.domain.models)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Tests
|
// region Tests
|
||||||
testImplementation(deps.test.coroutine)
|
testImplementation(deps.test.coroutine)
|
||||||
testImplementation(deps.test.junit5)
|
|
||||||
testImplementation(deps.test.mockk)
|
testImplementation(deps.test.mockk)
|
||||||
testImplementation(deps.test.truth)
|
|
||||||
testImplementation(projects.common.test)
|
|
||||||
// endregion
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -4,55 +4,60 @@ 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")
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = "com.tangem.data.nft"
|
namespace = "com.tangem.data.nft"
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
/** Project - Data */
|
// region Kotlin
|
||||||
implementation(projects.core.datasource)
|
implementation(deps.kotlin.coroutines)
|
||||||
implementation(projects.data.common)
|
// endregion
|
||||||
|
|
||||||
/** Project - Domain */
|
// region Other libraries
|
||||||
|
implementation(deps.arrow.core)
|
||||||
|
implementation(deps.arrow.fx)
|
||||||
|
kaptForObfuscatingVariants(deps.retrofit.response.type.keeper)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Libs - Tangem
|
||||||
|
implementation(tangemDeps.blockchain)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region DI
|
||||||
|
implementation(deps.hilt.android)
|
||||||
|
kapt(deps.hilt.kapt)
|
||||||
|
// 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.common)
|
||||||
|
api(projects.domain.walletManager)
|
||||||
implementation(projects.domain.card)
|
implementation(projects.domain.card)
|
||||||
implementation(projects.domain.common)
|
|
||||||
implementation(projects.domain.models)
|
implementation(projects.domain.models)
|
||||||
implementation(projects.domain.nft)
|
implementation(projects.domain.nft)
|
||||||
implementation(projects.domain.nft.models)
|
implementation(projects.domain.nft.models)
|
||||||
implementation(projects.domain.tokens.models)
|
// endregion
|
||||||
implementation(projects.domain.walletManager)
|
|
||||||
implementation(projects.domain.wallets.models)
|
|
||||||
|
|
||||||
/** Project - Utils */
|
// region Project - Libs
|
||||||
implementation(projects.core.utils)
|
api(projects.libs.blockchainSdk)
|
||||||
implementation(projects.domain.legacy)
|
// endregion
|
||||||
implementation(projects.libs.blockchainSdk)
|
|
||||||
|
|
||||||
/** Feature Api modules */
|
// region Tests
|
||||||
implementation(projects.features.nft.api)
|
testImplementation(deps.test.coroutine)
|
||||||
|
testImplementation(deps.test.junit5)
|
||||||
/** Libs - Other */
|
testImplementation(deps.test.mockk)
|
||||||
implementation(deps.kotlin.coroutines)
|
|
||||||
implementation(deps.arrow.core)
|
|
||||||
implementation(deps.arrow.fx)
|
|
||||||
implementation(deps.jodatime)
|
|
||||||
implementation(deps.androidx.paging.runtime)
|
|
||||||
implementation(deps.moshi.kotlin)
|
|
||||||
ksp(deps.moshi.kotlin.codegen)
|
|
||||||
kaptForObfuscatingVariants(deps.retrofit.response.type.keeper)
|
|
||||||
|
|
||||||
/** Libs - Tangem */
|
|
||||||
implementation(tangemDeps.blockchain)
|
|
||||||
implementation(tangemDeps.card.core)
|
|
||||||
|
|
||||||
/** DI */
|
|
||||||
implementation(deps.hilt.android)
|
|
||||||
kapt(deps.hilt.kapt)
|
|
||||||
|
|
||||||
testImplementation(projects.test.core)
|
|
||||||
testImplementation(projects.common.test)
|
testImplementation(projects.common.test)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -10,13 +10,19 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// region sdk
|
|
||||||
implementation(tangemDeps.blockchain)
|
// region Kotlin
|
||||||
|
api(deps.kotlin.coroutines)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region AndroidX libraries
|
// region Other libraries
|
||||||
implementation(deps.androidx.datastore)
|
implementation(deps.androidx.datastore)
|
||||||
implementation(deps.kotlin.coroutines)
|
implementation(deps.arrow.core)
|
||||||
|
implementation(deps.moshi)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region SDK
|
||||||
|
implementation(tangemDeps.blockchain)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region DI
|
// region DI
|
||||||
|
|
@ -24,29 +30,23 @@ dependencies {
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Arrow
|
|
||||||
implementation(deps.arrow.core)
|
|
||||||
// endregion
|
|
||||||
|
|
||||||
// region Core modules
|
// region Core modules
|
||||||
implementation(projects.core.datasource)
|
api(projects.core.datasource)
|
||||||
implementation(projects.core.utils)
|
api(projects.core.utils)
|
||||||
implementation(projects.core.ui)
|
|
||||||
implementation(projects.common.ui)
|
implementation(projects.common.ui)
|
||||||
implementation(projects.libs.blockchainSdk)
|
implementation(projects.libs.blockchainSdk)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Domain modules
|
// region Domain modules
|
||||||
|
api(projects.domain.notifications)
|
||||||
|
implementation(projects.domain.models)
|
||||||
implementation(projects.domain.notifications.models)
|
implementation(projects.domain.notifications.models)
|
||||||
implementation(projects.domain.notifications)
|
|
||||||
// endregion
|
// 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)
|
||||||
testImplementation(deps.moshi)
|
testImplementation(deps.test.truth)
|
||||||
testImplementation(deps.moshi.kotlin)
|
|
||||||
// endregion
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -11,8 +11,13 @@ android {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
// region AndroidX libraries
|
// region Kotlin
|
||||||
|
implementation(deps.kotlin.coroutines)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Other libraries
|
||||||
implementation(deps.androidx.datastore)
|
implementation(deps.androidx.datastore)
|
||||||
|
implementation(deps.moshi)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region DI
|
// region DI
|
||||||
|
|
@ -21,11 +26,12 @@ dependencies {
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Core modules
|
// region Core modules
|
||||||
implementation(projects.core.datasource)
|
api(projects.core.datasource)
|
||||||
|
implementation(projects.core.utils)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Domain modules
|
// region Domain modules
|
||||||
implementation(projects.domain.onboarding)
|
api(projects.domain.onboarding)
|
||||||
implementation(projects.domain.models)
|
implementation(projects.domain.models)
|
||||||
// endregion
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -1,48 +1,9 @@
|
||||||
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.ksp)
|
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = "com.tangem.data.payment"
|
namespace = "com.tangem.data.payment"
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
|
||||||
/** Project - Data */
|
|
||||||
implementation(projects.core.error)
|
|
||||||
implementation(projects.core.error.ext)
|
|
||||||
implementation(projects.data.common)
|
|
||||||
implementation(projects.data.wallets)
|
|
||||||
|
|
||||||
/** Project - Domain */
|
|
||||||
implementation(projects.domain.payment)
|
|
||||||
implementation(projects.domain.payment.models)
|
|
||||||
implementation(projects.domain.wallets)
|
|
||||||
implementation(projects.domain.models)
|
|
||||||
implementation(projects.domain.common)
|
|
||||||
|
|
||||||
/** Project - Utils */
|
|
||||||
implementation(projects.core.utils)
|
|
||||||
implementation(projects.domain.legacy)
|
|
||||||
implementation(projects.libs.blockchainSdk)
|
|
||||||
|
|
||||||
/** Libs - Tangem */
|
|
||||||
implementation(tangemDeps.blockchain)
|
|
||||||
implementation(tangemDeps.card.core)
|
|
||||||
implementation(tangemDeps.card.android)
|
|
||||||
implementation(tangemDeps.hot.core)
|
|
||||||
implementation(projects.libs.tangemSdkApi)
|
|
||||||
|
|
||||||
/** Libs - Other */
|
|
||||||
implementation(deps.kotlin.coroutines)
|
|
||||||
implementation(deps.arrow.core)
|
|
||||||
implementation(deps.moshi.kotlin)
|
|
||||||
ksp(deps.moshi.kotlin.codegen)
|
|
||||||
|
|
||||||
/** DI */
|
|
||||||
implementation(deps.hilt.android)
|
|
||||||
kapt(deps.hilt.kapt)
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -11,29 +11,35 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
/** Domain */
|
|
||||||
implementation(projects.domain.pushNotificationPreferences)
|
|
||||||
implementation(projects.domain.models)
|
|
||||||
|
|
||||||
/** Core */
|
// region Kotlin
|
||||||
implementation(projects.core.datasource)
|
|
||||||
implementation(projects.core.utils)
|
|
||||||
|
|
||||||
/** Other */
|
|
||||||
implementation(deps.androidx.datastore)
|
|
||||||
implementation(deps.arrow.core)
|
|
||||||
implementation(deps.kotlin.coroutines)
|
implementation(deps.kotlin.coroutines)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/** DI */
|
// region Other libraries
|
||||||
|
implementation(deps.arrow.core)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region DI
|
||||||
implementation(deps.hilt.android)
|
implementation(deps.hilt.android)
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/** Tests */
|
// region Core
|
||||||
testImplementation(deps.test.junit5)
|
api(projects.core.datasource)
|
||||||
|
api(projects.core.utils)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain
|
||||||
|
api(projects.domain.pushNotificationPreferences)
|
||||||
|
implementation(projects.domain.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Tests
|
||||||
testImplementation(deps.test.coroutine)
|
testImplementation(deps.test.coroutine)
|
||||||
testImplementation(deps.test.truth)
|
testImplementation(deps.test.junit5)
|
||||||
testImplementation(deps.test.mockk)
|
testImplementation(deps.test.mockk)
|
||||||
|
testImplementation(deps.test.truth)
|
||||||
testImplementation(deps.test.turbine)
|
testImplementation(deps.test.turbine)
|
||||||
testImplementation(deps.moshi)
|
// endregion
|
||||||
testImplementation(deps.moshi.kotlin)
|
|
||||||
}
|
}
|
||||||
|
|
@ -12,25 +12,37 @@ android {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
/** Domain */
|
// region Kotlin
|
||||||
implementation(projects.domain.models)
|
implementation(deps.kotlin.coroutines)
|
||||||
implementation(projects.domain.qrScanning)
|
// endregion
|
||||||
implementation(projects.domain.qrScanning.models)
|
|
||||||
implementation(projects.domain.tokens.models)
|
|
||||||
|
|
||||||
implementation(projects.core.ui)
|
// region SDK
|
||||||
implementation(projects.libs.blockchainSdk)
|
|
||||||
|
|
||||||
/** SdK */
|
|
||||||
implementation(tangemDeps.blockchain)
|
implementation(tangemDeps.blockchain)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/** DI */
|
// region DI
|
||||||
implementation(deps.hilt.android)
|
implementation(deps.hilt.android)
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
// endregion
|
||||||
|
|
||||||
/** Tests */
|
// region Core modules
|
||||||
testImplementation(deps.test.junit5)
|
implementation(projects.core.ui)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain
|
||||||
|
api(projects.domain.qrScanning)
|
||||||
|
implementation(projects.domain.models)
|
||||||
|
implementation(projects.domain.qrScanning.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Libs
|
||||||
|
implementation(projects.libs.blockchainSdk)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Tests
|
||||||
testImplementation(deps.test.coroutine)
|
testImplementation(deps.test.coroutine)
|
||||||
|
testImplementation(deps.test.junit5)
|
||||||
testImplementation(deps.test.mockk)
|
testImplementation(deps.test.mockk)
|
||||||
testImplementation(deps.test.truth)
|
testImplementation(deps.test.truth)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -9,22 +9,20 @@ android {
|
||||||
namespace = "com.tangem.data.quotes"
|
namespace = "com.tangem.data.quotes"
|
||||||
}
|
}
|
||||||
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)
|
api(deps.moshi)
|
||||||
|
implementation(deps.androidx.annotation)
|
||||||
|
implementation(deps.androidx.datastore)
|
||||||
|
implementation(deps.arrow.core)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Project - Domain
|
// region Tangem SDKs
|
||||||
api(projects.domain.models)
|
implementation(tangemDeps.blockchain)
|
||||||
api(projects.domain.quotes)
|
|
||||||
// endregion
|
|
||||||
|
|
||||||
// region Project - Libs
|
|
||||||
implementation(projects.libs.blockchainSdk)
|
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region DI
|
// region DI
|
||||||
|
|
@ -32,13 +30,23 @@ dependencies {
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Tangem SDKs
|
// region Project - Core
|
||||||
implementation(tangemDeps.blockchain)
|
api(projects.core.datasource)
|
||||||
|
api(projects.core.utils)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Other libraries
|
// region Project - Data
|
||||||
implementation(deps.androidx.datastore)
|
api(projects.data.common)
|
||||||
implementation(deps.moshi.kotlin)
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Domain
|
||||||
|
api(projects.domain.core)
|
||||||
|
api(projects.domain.quotes)
|
||||||
|
implementation(projects.domain.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Libs
|
||||||
|
implementation(projects.libs.blockchainSdk)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Tests
|
// region Tests
|
||||||
|
|
|
||||||
|
|
@ -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,22 +11,15 @@ 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)
|
api(deps.androidx.datastore)
|
||||||
// endregion
|
api(deps.moshi)
|
||||||
|
ksp(deps.moshi.kotlin.codegen)
|
||||||
// region Project - Domain
|
|
||||||
implementation(projects.domain.search)
|
|
||||||
implementation(projects.domain.common)
|
|
||||||
implementation(projects.domain.account.status)
|
|
||||||
implementation(projects.domain.markets.models)
|
|
||||||
implementation(projects.domain.wallets)
|
|
||||||
implementation(projects.domain.appCurrency)
|
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region DI
|
// region DI
|
||||||
|
|
@ -33,8 +27,15 @@ dependencies {
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Other libraries
|
// region Project - Core
|
||||||
implementation(deps.androidx.datastore)
|
api(projects.core.utils)
|
||||||
implementation(deps.moshi.kotlin)
|
implementation(projects.core.datasource)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Project - Domain
|
||||||
|
api(projects.domain.account.status)
|
||||||
|
api(projects.domain.common)
|
||||||
|
api(projects.domain.search)
|
||||||
|
implementation(projects.domain.models)
|
||||||
// endregion
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -5,38 +5,40 @@ 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")
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = "com.tangem.data.settings"
|
namespace = "com.tangem.data.settings"
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
implementation(projects.core.datasource)
|
// region Kotlin
|
||||||
implementation(projects.core.utils)
|
implementation(deps.kotlin.coroutines)
|
||||||
|
// endregion
|
||||||
implementation(projects.domain.balanceHiding.models)
|
|
||||||
implementation(projects.domain.settings)
|
|
||||||
|
|
||||||
|
// region Others dependencies
|
||||||
|
implementation(deps.androidx.core)
|
||||||
implementation(deps.androidx.datastore)
|
implementation(deps.androidx.datastore)
|
||||||
|
kaptForObfuscatingVariants(deps.retrofit.response.type.keeper)
|
||||||
|
// endregion
|
||||||
|
|
||||||
// region DI
|
// region DI
|
||||||
implementation(deps.hilt.android)
|
implementation(deps.hilt.android)
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
|
// region Core modules
|
||||||
|
api(projects.core.datasource)
|
||||||
|
api(projects.core.utils)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain
|
||||||
|
api(projects.domain.settings)
|
||||||
|
// endregion
|
||||||
|
|
||||||
// region Test
|
// region Test
|
||||||
testImplementation(projects.test.core)
|
testImplementation(projects.test.core)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Others dependencies
|
|
||||||
implementation(deps.jodatime)
|
|
||||||
implementation(deps.kotlin.coroutines)
|
|
||||||
implementation(deps.moshi)
|
|
||||||
implementation(deps.moshi.kotlin)
|
|
||||||
ksp(deps.moshi.kotlin.codegen)
|
|
||||||
kaptForObfuscatingVariants(deps.retrofit.response.type.keeper)
|
|
||||||
// endregion
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,66 +5,76 @@ 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")
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = "com.tangem.data.staking"
|
namespace = "com.tangem.data.staking"
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
/** Core modules */
|
|
||||||
implementation(projects.core.datasource)
|
|
||||||
implementation(projects.core.utils)
|
|
||||||
|
|
||||||
/** Common modules */
|
|
||||||
implementation(projects.data.common)
|
|
||||||
|
|
||||||
/** Domain modules */
|
|
||||||
implementation(projects.core.configToggles)
|
|
||||||
implementation(projects.domain.tokens.models)
|
|
||||||
implementation(projects.domain.staking)
|
|
||||||
implementation(projects.domain.wallets)
|
|
||||||
implementation(projects.domain.wallets.models)
|
|
||||||
implementation(projects.domain.legacy)
|
|
||||||
implementation(projects.domain.walletManager)
|
|
||||||
implementation(projects.domain.card)
|
|
||||||
implementation(projects.domain.models)
|
|
||||||
|
|
||||||
/** Feature Api modules */
|
|
||||||
implementation(projects.features.staking.api)
|
|
||||||
|
|
||||||
// region DI
|
|
||||||
|
|
||||||
implementation(deps.hilt.android)
|
|
||||||
kapt(deps.hilt.kapt)
|
|
||||||
|
|
||||||
|
// region Kotlin
|
||||||
|
api(deps.kotlin.coroutines)
|
||||||
|
implementation(deps.kotlin.datetime)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Others dependencies
|
// region Other libraries
|
||||||
|
api(deps.androidx.datastore)
|
||||||
implementation(deps.androidx.datastore)
|
api(deps.moshi)
|
||||||
implementation(deps.jodatime)
|
implementation(deps.arrow.core)
|
||||||
implementation(deps.kotlin.coroutines)
|
|
||||||
implementation(deps.kotlin.datetime)
|
|
||||||
implementation(deps.kotlin.immutable.collections)
|
|
||||||
implementation(deps.moshi)
|
|
||||||
implementation(deps.moshi.kotlin)
|
|
||||||
implementation(deps.firebase.crashlytics)
|
implementation(deps.firebase.crashlytics)
|
||||||
ksp(deps.moshi.kotlin.codegen)
|
implementation(deps.jodatime)
|
||||||
|
implementation(deps.kotlin.immutable.collections)
|
||||||
kaptForObfuscatingVariants(deps.retrofit.response.type.keeper)
|
kaptForObfuscatingVariants(deps.retrofit.response.type.keeper)
|
||||||
|
// endregion
|
||||||
|
|
||||||
implementation(projects.libs.blockchainSdk)
|
// region Tangem SDK
|
||||||
implementation(projects.libs.crypto)
|
|
||||||
|
|
||||||
implementation(tangemDeps.card.core)
|
|
||||||
implementation(tangemDeps.blockchain) {
|
implementation(tangemDeps.blockchain) {
|
||||||
exclude(module = "joda-time")
|
exclude(module = "joda-time")
|
||||||
}
|
}
|
||||||
|
implementation(tangemDeps.card.core)
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
testImplementation(tangemDeps.card.core)
|
// region DI
|
||||||
|
implementation(deps.hilt.android)
|
||||||
|
kapt(deps.hilt.kapt)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Core modules
|
||||||
|
api(projects.core.analytics)
|
||||||
|
api(projects.core.configToggles)
|
||||||
|
api(projects.core.datasource)
|
||||||
|
api(projects.core.utils)
|
||||||
|
implementation(projects.core.analytics.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Data
|
||||||
|
implementation(projects.data.common)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain
|
||||||
|
api(projects.domain.common)
|
||||||
|
api(projects.domain.core)
|
||||||
|
api(projects.domain.models)
|
||||||
|
api(projects.domain.staking)
|
||||||
|
api(projects.domain.walletManager)
|
||||||
|
api(projects.domain.wallets)
|
||||||
|
implementation(projects.domain.card)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain models
|
||||||
|
api(projects.domain.staking.models)
|
||||||
|
implementation(projects.domain.wallets.models)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Libs
|
||||||
|
implementation(projects.libs.blockchainSdk)
|
||||||
|
implementation(projects.libs.crypto)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Tests
|
||||||
testImplementation(projects.common.test)
|
testImplementation(projects.common.test)
|
||||||
testImplementation(projects.test.core)
|
testImplementation(projects.test.core)
|
||||||
|
// endregion
|
||||||
}
|
}
|
||||||
|
|
@ -11,17 +11,27 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(deps.androidx.datastore)
|
|
||||||
|
|
||||||
|
// region Kotlin
|
||||||
|
implementation(deps.kotlin.coroutines)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Other libraries
|
||||||
|
implementation(deps.androidx.datastore)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region DI
|
||||||
implementation(deps.hilt.android)
|
implementation(deps.hilt.android)
|
||||||
kapt(deps.hilt.kapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
// endregion
|
||||||
|
|
||||||
implementation(projects.domain.stories)
|
// region Core modules
|
||||||
|
api(projects.core.datasource)
|
||||||
|
api(projects.core.utils)
|
||||||
|
// endregion
|
||||||
|
|
||||||
|
// region Domain
|
||||||
|
api(projects.domain.stories)
|
||||||
implementation(projects.domain.stories.models)
|
implementation(projects.domain.stories.models)
|
||||||
api(projects.domain.models)
|
// endregion
|
||||||
implementation(projects.domain.wallets.models)
|
|
||||||
implementation(projects.features.referral.domain)
|
|
||||||
|
|
||||||
implementation(projects.core.datasource)
|
|
||||||
implementation(projects.core.utils)
|
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue