Updated on 2026-08-14

This commit is contained in:
Tangem 2025-02-18 19:18:14 +02:00
parent 8924c1a93b
commit 6df07307c0
46 changed files with 101 additions and 95 deletions

View file

@ -222,11 +222,11 @@ dependencies {
exclude(group = "com.google.protobuf", module = "protobuf-javalite") exclude(group = "com.google.protobuf", module = "protobuf-javalite")
} }
/** Tangem libraries */ /** Tangem libraries */
implementation(deps.tangem.blockchain) { implementation(tangemDeps.blockchain) {
exclude(module = "joda-time") exclude(module = "joda-time")
} }
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(deps.tangem.card.android) { implementation(tangemDeps.card.android) {
exclude(module = "joda-time") exclude(module = "joda-time")
} }

View file

@ -13,9 +13,9 @@ dependencies {
implementation(projects.core.ui) implementation(projects.core.ui)
/** Compose */ /** Compose */
implementation(deps.tangem.vico.core) implementation(tangemDeps.vico.core)
implementation(deps.tangem.vico.compose) implementation(tangemDeps.vico.compose)
implementation(deps.tangem.vico.compose.m3) implementation(tangemDeps.vico.compose.m3)
implementation(deps.lifecycle.compose) implementation(deps.lifecycle.compose)
implementation(deps.compose.foundation) implementation(deps.compose.foundation)

View file

@ -38,8 +38,8 @@ dependencies {
implementation(projects.domain.onramp.models) implementation(projects.domain.onramp.models)
implementation(projects.domain.promo.models) implementation(projects.domain.promo.models)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(deps.tangem.blockchain) { implementation(tangemDeps.blockchain) {
exclude(module = "joda-time") exclude(module = "joda-time")
} }
} }

View file

@ -34,8 +34,8 @@ dependencies {
implementation(projects.domain.models) implementation(projects.domain.models)
/** Tangem libraries */ /** Tangem libraries */
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
/** DI */ /** DI */
implementation(deps.hilt.android) implementation(deps.hilt.android)

View file

@ -13,15 +13,15 @@ android {
dependencies { dependencies {
implementation(deps.androidx.datastore) implementation(deps.androidx.datastore)
implementation(deps.tangem.blockchain) { implementation(tangemDeps.blockchain) {
exclude(module = "joda-time") exclude(module = "joda-time")
} }
implementation(deps.hilt.android) implementation(deps.hilt.android)
kapt(deps.hilt.kapt) kapt(deps.hilt.kapt)
implementation(deps.tangem.card.android) implementation(tangemDeps.card.android)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(projects.core.datasource) implementation(projects.core.datasource)
implementation(projects.core.utils) implementation(projects.core.utils)

View file

@ -19,8 +19,8 @@ dependencies {
implementation(projects.domain.tokens.models) implementation(projects.domain.tokens.models)
/* Libs - SDK */ /* Libs - SDK */
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(projects.libs.blockchainSdk) implementation(projects.libs.blockchainSdk)
/* DI */ /* DI */

View file

@ -21,8 +21,8 @@ dependencies {
// endregion // endregion
// region Tangem libraries // region Tangem libraries
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
// endregion // endregion
// Other libraries // Other libraries

View file

@ -33,8 +33,8 @@ dependencies {
implementation(projects.libs.blockchainSdk) implementation(projects.libs.blockchainSdk)
/** Tangem SDKs */ /** Tangem SDKs */
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
/** AndroidX */ /** AndroidX */
implementation(deps.androidx.datastore) implementation(deps.androidx.datastore)

View file

@ -41,7 +41,7 @@ dependencies {
implementation(deps.moshi) implementation(deps.moshi)
implementation(deps.moshi.kotlin) implementation(deps.moshi.kotlin)
implementation(deps.timber) implementation(deps.timber)
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
kaptForObfuscatingVariants(deps.moshi.kotlin.codegen) kaptForObfuscatingVariants(deps.moshi.kotlin.codegen)
kaptForObfuscatingVariants(deps.retrofit.response.type.keeper) kaptForObfuscatingVariants(deps.retrofit.response.type.keeper)
// endregion // endregion

View file

@ -52,8 +52,8 @@ dependencies {
implementation(projects.libs.blockchainSdk) implementation(projects.libs.blockchainSdk)
implementation(projects.libs.crypto) implementation(projects.libs.crypto)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(deps.tangem.blockchain) { implementation(tangemDeps.blockchain) {
exclude(module = "joda-time") exclude(module = "joda-time")
} }

View file

@ -20,7 +20,7 @@ dependencies {
implementation(projects.core.ui) implementation(projects.core.ui)
/** SdK */ /** SdK */
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
/** DI */ /** DI */
implementation(deps.hilt.android) implementation(deps.hilt.android)

View file

@ -54,8 +54,8 @@ dependencies {
implementation(projects.libs.blockchainSdk) implementation(projects.libs.blockchainSdk)
implementation(projects.libs.crypto) implementation(projects.libs.crypto)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(deps.tangem.blockchain) { implementation(tangemDeps.blockchain) {
exclude(module = "joda-time") exclude(module = "joda-time")
} }

View file

@ -33,8 +33,8 @@ dependencies {
implementation(projects.libs.blockchainSdk) implementation(projects.libs.blockchainSdk)
/** Tangem SDKs */ /** Tangem SDKs */
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
/** AndroidX */ /** AndroidX */
implementation(deps.androidx.datastore) implementation(deps.androidx.datastore)

View file

@ -13,8 +13,8 @@ android {
dependencies { dependencies {
/** Tangem SDKs */ /** Tangem SDKs */
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
/** Core */ /** Core */
implementation(projects.core.datasource) implementation(projects.core.datasource)

View file

@ -25,7 +25,7 @@ dependencies {
implementation(deps.androidx.paging.runtime) implementation(deps.androidx.paging.runtime)
implementation(deps.timber) implementation(deps.timber)
implementation(deps.jodatime) implementation(deps.jodatime)
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
implementation(deps.hilt.core) implementation(deps.hilt.core)
kapt(deps.hilt.kapt) kapt(deps.hilt.kapt)

View file

@ -43,8 +43,8 @@ dependencies {
kaptForObfuscatingVariants(deps.retrofit.response.type.keeper) kaptForObfuscatingVariants(deps.retrofit.response.type.keeper)
/** Libs - Tangem */ /** Libs - Tangem */
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
/** DI */ /** DI */
implementation(deps.hilt.core) implementation(deps.hilt.core)

View file

@ -13,7 +13,7 @@ android {
dependencies { dependencies {
/** Tangem libraries */ /** Tangem libraries */
implementation(deps.tangem.blockchain) // android-library implementation(tangemDeps.blockchain) // android-library
/** Core */ /** Core */
implementation(projects.core.datasource) implementation(projects.core.datasource)

View file

@ -20,8 +20,8 @@ dependencies {
implementation(projects.domain.tokens.models) implementation(projects.domain.tokens.models)
implementation(projects.domain.wallets.models) implementation(projects.domain.wallets.models)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(deps.tangem.blockchain) { implementation(tangemDeps.blockchain) {
exclude(module = "joda-time") exclude(module = "joda-time")
} }

View file

@ -9,6 +9,6 @@ android {
} }
dependencies { dependencies {
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
} }

View file

@ -25,11 +25,11 @@ dependencies {
implementation(projects.domain.txhistory.models) implementation(projects.domain.txhistory.models)
implementation(projects.domain.wallets.models) implementation(projects.domain.wallets.models)
/** Tangem libraries */ /** Tangem libraries */
implementation(deps.tangem.blockchain) { implementation(tangemDeps.blockchain) {
exclude(module = "joda-time") exclude(module = "joda-time")
} }
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(deps.tangem.card.android) { implementation(tangemDeps.card.android) {
exclude(module = "joda-time") exclude(module = "joda-time")
} }

View file

@ -10,7 +10,7 @@ plugins {
dependencies { dependencies {
api(projects.domain.visa.models) api(projects.domain.visa.models)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(deps.moshi.kotlin) implementation(deps.moshi.kotlin)
implementation(deps.moshi.adapters) implementation(deps.moshi.adapters)
implementation(deps.kotlin.serialization) implementation(deps.kotlin.serialization)

View file

@ -23,7 +23,7 @@ dependencies {
implementation(projects.features.staking.api) implementation(projects.features.staking.api)
implementation(deps.tangem.blockchain) { implementation(tangemDeps.blockchain) {
exclude(module = "joda-time") exclude(module = "joda-time")
} }
} }

View file

@ -50,7 +50,7 @@ dependencies {
/** Tests */ /** Tests */
testImplementation(deps.test.junit) testImplementation(deps.test.junit)
testImplementation(deps.test.coroutine) testImplementation(deps.test.coroutine)
testImplementation(deps.tangem.blockchain) { testImplementation(tangemDeps.blockchain) {
exclude(module = "joda-time") exclude(module = "joda-time")
} }
} }

View file

@ -16,11 +16,11 @@ dependencies {
implementation(projects.core.ui) implementation(projects.core.ui)
/** Tangem SDKs */ /** Tangem SDKs */
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(deps.tangem.card.android) { implementation(tangemDeps.card.android) {
exclude(module = "joda-time") exclude(module = "joda-time")
} }
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
implementation(projects.domain.models) implementation(projects.domain.models)
implementation(projects.domain.legacy) implementation(projects.domain.legacy)

View file

@ -26,7 +26,7 @@ dependencies {
// endregion // endregion
// region Tangem libraries // region Tangem libraries
implementation(deps.tangem.blockchain) // android-library implementation(tangemDeps.blockchain) // android-library
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
// endregion // endregion
} }

View file

@ -7,7 +7,7 @@ plugins {
dependencies { dependencies {
// region Tangem libraries // region Tangem libraries
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
// endregion // endregion
// region Domain modules // region Domain modules

View file

@ -45,9 +45,9 @@ dependencies {
/* SDK */ /* SDK */
// TODO: For TangemError model, should be removed after card domain scanning refactoring // TODO: For TangemError model, should be removed after card domain scanning refactoring
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
// For image resolving // For image resolving
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
/* AndroidX */ /* AndroidX */
implementation(deps.androidx.activity.compose) implementation(deps.androidx.activity.compose)

View file

@ -45,8 +45,8 @@ dependencies {
/** Tangem libraries */ /** Tangem libraries */
implementation(projects.libs.tangemSdkApi) implementation(projects.libs.tangemSdkApi)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(deps.tangem.card.android) { implementation(tangemDeps.card.android) {
exclude(module = "joda-time") exclude(module = "joda-time")
} }

View file

@ -25,8 +25,8 @@ dependencies {
implementation(project(":data:common")) implementation(project(":data:common"))
/** Tangem libraries */ /** Tangem libraries */
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(deps.tangem.card.android) { implementation(tangemDeps.card.android) {
exclude(module = "joda-time") exclude(module = "joda-time")
} }
@ -50,7 +50,7 @@ dependencies {
implementation(deps.compose.coil) implementation(deps.compose.coil)
implementation(deps.compose.shimmer) implementation(deps.compose.shimmer)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
/** Other libraries */ /** Other libraries */
implementation(deps.compose.shimmer) implementation(deps.compose.shimmer)

View file

@ -60,5 +60,5 @@ dependencies {
/** Other dependencies */ /** Other dependencies */
implementation(deps.arrow.core) implementation(deps.arrow.core)
implementation(deps.timber) implementation(deps.timber)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
} }

View file

@ -38,5 +38,5 @@ dependencies {
kapt(deps.hilt.kapt) kapt(deps.hilt.kapt)
/** Tangem deps */ /** Tangem deps */
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
} }

View file

@ -32,7 +32,7 @@ dependencies {
implementation(deps.arrow.core) implementation(deps.arrow.core)
implementation(deps.jodatime) implementation(deps.jodatime)
implementation(deps.timber) implementation(deps.timber)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
/** DI */ /** DI */
implementation(deps.hilt.android) implementation(deps.hilt.android)

View file

@ -39,8 +39,8 @@ dependencies {
implementation(deps.compose.constraintLayout) implementation(deps.compose.constraintLayout)
/** Tangem SDKs */ /** Tangem SDKs */
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
/** Core modules */ /** Core modules */
implementation(projects.core.configToggles) implementation(projects.core.configToggles)

View file

@ -36,8 +36,8 @@ dependencies {
implementation(deps.compose.constraintLayout) implementation(deps.compose.constraintLayout)
/** Tangem SDKs */ /** Tangem SDKs */
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
/** Core modules */ /** Core modules */
implementation(projects.core.configToggles) implementation(projects.core.configToggles)

View file

@ -44,7 +44,7 @@ dependencies {
implementation(projects.data.common) implementation(projects.data.common)
/** Tangem SDKs */ /** Tangem SDKs */
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
/** Others */ /** Others */
implementation(deps.timber) implementation(deps.timber)

View file

@ -51,8 +51,8 @@ dependencies {
implementation(deps.kotlin.coroutines) implementation(deps.kotlin.coroutines)
implementation(deps.arrow.core) implementation(deps.arrow.core)
implementation(deps.timber) implementation(deps.timber)
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(deps.moshi) implementation(deps.moshi)
kaptForObfuscatingVariants(deps.moshi.kotlin.codegen) kaptForObfuscatingVariants(deps.moshi.kotlin.codegen)
} }

View file

@ -50,7 +50,7 @@ dependencies {
implementation(projects.features.tester.api) implementation(projects.features.tester.api)
/* SDK */ /* SDK */
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
/** Other modules */ /** Other modules */
implementation(projects.common.routing) implementation(projects.common.routing)

View file

@ -35,8 +35,8 @@ dependencies {
implementation(deps.jodatime) implementation(deps.jodatime)
implementation(deps.kotlin.immutable.collections) implementation(deps.kotlin.immutable.collections)
implementation(deps.reKotlin) implementation(deps.reKotlin)
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(deps.timber) implementation(deps.timber)
implementation(deps.lifecycle.compose) implementation(deps.lifecycle.compose)
implementation(deps.kotlin.serialization) implementation(deps.kotlin.serialization)

View file

@ -39,8 +39,8 @@ dependencies {
implementation(deps.jodatime) implementation(deps.jodatime)
implementation(deps.kotlin.immutable.collections) implementation(deps.kotlin.immutable.collections)
implementation(deps.reKotlin) implementation(deps.reKotlin)
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
implementation(deps.timber) implementation(deps.timber)
implementation(deps.firebase.perf) { implementation(deps.firebase.perf) {
exclude(group = "com.google.firebase", module = "protolite-well-known-types") exclude(group = "com.google.firebase", module = "protolite-well-known-types")

View file

@ -88,15 +88,6 @@ markdown = "0.7.2"
markdownComposeView = "0.5.4" markdownComposeView = "0.5.4"
# endregion Other libraries # endregion Other libraries
# region Tangem
tangemBlockchainSdk = "release-app_5.21-955"
#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds
tangemCardSdk = "release-app_5.21-435"
#tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^
tangemVico = "2.0.0-alpha.25-tangem-developments8"
#tangemVico = "0.0.1" # Keep it! - used for local builds ^
# endregion Tangem
# region Tools # region Tools
detektComposeRules = "1.3.0" detektComposeRules = "1.3.0"
detekt = "1.22.0" detekt = "1.22.0"
@ -188,16 +179,6 @@ firebase-messaging = { module = "com.google.firebase:firebase-messaging-ktx" }
firebase-perf = { module = "com.google.firebase:firebase-perf" } firebase-perf = { module = "com.google.firebase:firebase-perf" }
# endregion Firebase # endregion Firebase
# region Tangem
tangem-blockchain = { module = "com.tangem:blockchain", version.ref = "tangemBlockchainSdk" }
tangem-card-android = { module = "com.tangem.tangem-sdk-kotlin:android", version.ref = "tangemCardSdk" }
tangem-card-core = { module = "com.tangem.tangem-sdk-kotlin:core", version.ref = "tangemCardSdk" }
tangem-vico-compose = { group = "com.tangem.vico", name = "compose", version.ref = "tangemVico" }
tangem-vico-compose-m3 = { group = "com.tangem.vico", name = "compose-m3", version.ref = "tangemVico" }
tangem-vico-core = { group = "com.tangem.vico", name = "core", version.ref = "tangemVico" }
# endregion Tangem
# region Detekt # region Detekt
detekt-compose = { module = "ru.kode:detekt-rules-compose", version.ref = "detektComposeRules" } detekt-compose = { module = "ru.kode:detekt-rules-compose", version.ref = "detektComposeRules" }
detekt-formatting = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detekt" } detekt-formatting = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detekt" }

View file

@ -0,0 +1,18 @@
[versions]
tangemBlockchainSdk = "release-app_5.21-955"
#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds
tangemCardSdk = "release-app_5.21-435"
#tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^
tangemVico = "2.0.0-alpha.25-tangem-developments8"
#tangemVico = "0.0.1" # Keep it! - used for local builds ^
[libraries]
blockchain = { module = "com.tangem:blockchain", version.ref = "tangemBlockchainSdk" }
card-android = { module = "com.tangem.tangem-sdk-kotlin:android", version.ref = "tangemCardSdk" }
card-core = { module = "com.tangem.tangem-sdk-kotlin:core", version.ref = "tangemCardSdk" }
vico-compose = { group = "com.tangem.vico", name = "compose", version.ref = "tangemVico" }
vico-compose-m3 = { group = "com.tangem.vico", name = "compose-m3", version.ref = "tangemVico" }
vico-core = { group = "com.tangem.vico", name = "core", version.ref = "tangemVico" }

View file

@ -45,8 +45,8 @@ dependencies {
// endregion // endregion
// region Tangem libraries // region Tangem libraries
implementation(deps.tangem.blockchain) { exclude(module = "joda-time") } implementation(tangemDeps.blockchain) { exclude(module = "joda-time") }
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
// endregion // endregion
testImplementation(deps.test.coroutine) testImplementation(deps.test.coroutine)

View file

@ -16,7 +16,7 @@ dependencies {
implementation(deps.kotlin.coroutines) implementation(deps.kotlin.coroutines)
/** SDK */ /** SDK */
implementation(deps.tangem.blockchain) implementation(tangemDeps.blockchain)
/** Core */ /** Core */
implementation(projects.core.utils) implementation(projects.core.utils)

View file

@ -22,8 +22,8 @@ dependencies {
implementation(projects.core.res) implementation(projects.core.res)
/** Tangem libraries */ /** Tangem libraries */
implementation(deps.tangem.card.core) implementation(tangemDeps.card.core)
implementation(deps.tangem.card.android) { implementation(tangemDeps.card.android) {
exclude(module = "joda-time") exclude(module = "joda-time")
} }

View file

@ -3,5 +3,8 @@ dependencyResolutionManagement {
create("deps") { create("deps") {
from(files("../../gradle/dependencies.toml")) from(files("../../gradle/dependencies.toml"))
} }
create("tangemDeps") {
from(files("../../gradle/tangem_dependencies.toml"))
}
} }
} }

View file

@ -113,7 +113,11 @@ dependencyResolutionManagement {
create("deps") { create("deps") {
from(files("gradle/dependencies.toml")) from(files("gradle/dependencies.toml"))
} }
create("tangemDeps") {
from(files("gradle/tangem_dependencies.toml"))
}
} }
} }
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")