Updated on 2026-08-14

This commit is contained in:
Tangem 2025-06-17 12:14:43 +05:00
parent 717b8e2df2
commit c5211efa73
15 changed files with 195 additions and 1 deletions

View file

@ -114,6 +114,8 @@ dependencies {
implementation(projects.domain.notifications)
implementation(projects.domain.notifications.models)
implementation(projects.domain.notifications.toggles)
implementation(projects.domain.swap.models)
implementation(projects.domain.swap)
implementation(projects.common)
implementation(projects.common.routing)
@ -160,6 +162,7 @@ dependencies {
implementation(projects.data.quotes)
implementation(projects.data.blockaid)
implementation(projects.data.notifications)
implementation(projects.data.swap)
/** Features */
implementation(projects.features.referral.impl)
@ -170,6 +173,8 @@ dependencies {
implementation(projects.features.swap.domain)
implementation(projects.features.swap.domain.api)
implementation(projects.features.swap.data)
implementation(projects.features.swapV2.api)
implementation(projects.features.swapV2.impl)
implementation(projects.features.tester.api)
implementation(projects.features.tester.impl)
implementation(projects.features.wallet.api)

1
data/express/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/build

View file

@ -0,0 +1,36 @@
plugins {
alias(deps.plugins.android.library)
alias(deps.plugins.kotlin.android)
alias(deps.plugins.kotlin.kapt)
alias(deps.plugins.hilt.android)
alias(deps.plugins.ksp)
id("configuration")
}
android {
namespace = "com.tangem.data.express"
}
dependencies {
/** Core */
implementation(projects.core.datasource)
implementation(projects.core.utils)
/** Data */
implementation(projects.data.common)
/** Domain */
implementation(projects.domain.express.models)
implementation(projects.domain.express)
implementation(projects.domain.wallets.models)
/** Other */
implementation(deps.moshi)
implementation(deps.moshi.kotlin)
implementation(deps.timber)
/** DI */
implementation(deps.hilt.android)
kapt(deps.hilt.kapt)
}

1
data/swap/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/build

View file

@ -0,0 +1,54 @@
plugins {
alias(deps.plugins.android.library)
alias(deps.plugins.kotlin.android)
alias(deps.plugins.kotlin.kapt)
alias(deps.plugins.hilt.android)
alias(deps.plugins.ksp)
id("configuration")
}
android {
namespace = "com.tangem.data.swap"
}
dependencies {
/** Core */
implementation(projects.core.datasource)
implementation(projects.core.utils)
/** Data */
implementation(projects.data.common)
implementation(projects.data.express)
/** Domain */
implementation(projects.domain.express.models)
implementation(projects.domain.express)
implementation(projects.domain.swap.models)
implementation(projects.domain.swap)
implementation(projects.domain.wallets.models)
implementation(projects.domain.wallets)
implementation(projects.domain.tokens.models)
implementation(projects.domain.tokens)
implementation(projects.domain.legacy)
implementation(projects.domain.models)
/** Tangem SDK */
implementation(tangemDeps.blockchain) {
exclude(module = "joda-time")
}
/** Libs */
implementation(projects.libs.blockchainSdk)
/** Other */
implementation(deps.androidx.datastore)
implementation(deps.jodatime)
implementation(deps.kotlin.coroutines)
implementation(deps.moshi)
implementation(deps.moshi.kotlin)
implementation(deps.timber)
/** DI */
implementation(deps.hilt.android)
kapt(deps.hilt.kapt)
}

1
domain/express/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/build

View file

@ -0,0 +1,24 @@
plugins {
alias(deps.plugins.android.library)
alias(deps.plugins.kotlin.android)
alias(deps.plugins.kotlin.serialization)
id("configuration")
}
android {
namespace = "com.tangem.domain.express.models"
}
dependencies {
/** Core */
implementation(projects.core.utils)
implementation(projects.core.datasource)
/** Domain */
implementation(projects.domain.express.models)
implementation(projects.domain.wallets.models)
implementation(projects.domain.tokens.models)
/** Other */
implementation(deps.moshi.adapters)
}

1
domain/express/models/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/build

View file

@ -0,0 +1,12 @@
plugins {
alias(deps.plugins.kotlin.jvm)
id("configuration")
}
dependencies {
/** Domain */
implementation(projects.domain.tokens.models)
/* Other */
implementation(deps.moshi.adapters)
}

1
domain/swap/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/build

View file

@ -0,0 +1,31 @@
import org.gradle.kotlin.dsl.projects
plugins {
alias(deps.plugins.android.library)
alias(deps.plugins.kotlin.android)
alias(deps.plugins.kotlin.serialization)
id("configuration")
}
android {
namespace = "com.tangem.domain.swap"
}
dependencies {
/** Domain */
implementation(projects.domain.models)
implementation(projects.domain.express.models)
implementation(projects.domain.swap.models)
implementation(projects.domain.wallets.models)
implementation(projects.domain.tokens.models)
/** Util */
implementation(projects.core.utils)
/** Other */
implementation(deps.arrow.core)
implementation(deps.kotlin.coroutines)
}

1
domain/swap/models/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/build

View file

@ -0,0 +1,24 @@
plugins {
alias(deps.plugins.android.library)
alias(deps.plugins.kotlin.android)
alias(deps.plugins.kotlin.serialization)
id("configuration")
}
android {
namespace = "com.tangem.domain.swap.models"
}
dependencies {
/** Domain */
implementation(projects.domain.models)
implementation(projects.domain.express.models)
implementation(projects.domain.tokens.models)
/** Core */
implementation(projects.core.datasource)
/** Other */
implementation(deps.jodatime)
implementation(deps.moshi)
}

View file

@ -8,7 +8,7 @@ plugins {
}
android {
namespace = "com.tangem.domain.swap"
namespace = "com.tangem.features.domain.swap"
}
dependencies {

View file

@ -185,6 +185,8 @@ include(":features:swap:domain")
include(":features:swap:domain:models")
include(":features:swap:domain:api")
include(":features:swap:impl")
include(":features:swap-v2:api")
include(":features:swap-v2:impl")
include(":features:tester:api")
include(":features:tester:impl")