Updated on 2026-08-14
This commit is contained in:
parent
58bbe85f29
commit
3466a64574
21 changed files with 256 additions and 285 deletions
|
|
@ -1,16 +1,16 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.application")
|
alias(deps.plugins.android.application)
|
||||||
kotlin("android")
|
alias(deps.plugins.kotlin.android)
|
||||||
kotlin("kapt")
|
alias(deps.plugins.kotlin.kapt)
|
||||||
kotlin("plugin.serialization")
|
alias(deps.plugins.kotlin.serialization)
|
||||||
id("com.google.gms.google-services")
|
alias(deps.plugins.google.services)
|
||||||
id("com.google.firebase.crashlytics")
|
alias(deps.plugins.hilt.android)
|
||||||
id("com.google.dagger.hilt.android")
|
alias(deps.plugins.firebase.crashlytics)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.aar"))))
|
implementation(files("libs/walletconnect-1.5.6.aar"))
|
||||||
implementation(project(":domain"))
|
implementation(project(":domain"))
|
||||||
implementation(project(":common"))
|
implementation(project(":common"))
|
||||||
implementation(project(":core:analytics"))
|
implementation(project(":core:analytics"))
|
||||||
|
|
@ -33,86 +33,85 @@ dependencies {
|
||||||
implementation(project(":features:tester:impl"))
|
implementation(project(":features:tester:impl"))
|
||||||
|
|
||||||
/** AndroidX libraries */
|
/** AndroidX libraries */
|
||||||
implementation(AndroidX.coreKtx)
|
implementation(deps.androidx.core.ktx)
|
||||||
implementation(AndroidX.appCompat)
|
implementation(deps.androidx.appCompat)
|
||||||
implementation(AndroidX.fragmentKtx)
|
implementation(deps.androidx.fragment.ktx)
|
||||||
implementation(AndroidX.constraintLayout)
|
implementation(deps.androidx.constraintLayout)
|
||||||
implementation(AndroidX.browser)
|
implementation(deps.androidx.activity.compose)
|
||||||
implementation(AndroidX.lifecycleRuntimeKtx)
|
implementation(deps.androidx.browser)
|
||||||
implementation(AndroidX.lifecycleCommonJava8)
|
implementation(deps.lifecycle.runtime.ktx)
|
||||||
implementation(AndroidX.lifecycleViewModelKtx)
|
implementation(deps.lifecycle.common.java8)
|
||||||
implementation(AndroidX.lifecycleLiveDataKtx)
|
implementation(deps.lifecycle.viewModel.ktx)
|
||||||
implementation(AndroidX.activityCompose)
|
|
||||||
|
|
||||||
/** Compose libraries */
|
/** Compose libraries */
|
||||||
implementation(Compose.material)
|
implementation(deps.compose.material)
|
||||||
implementation(Compose.animation)
|
implementation(deps.compose.animation)
|
||||||
implementation(Compose.foundation)
|
implementation(deps.compose.foundation)
|
||||||
implementation(Compose.ui)
|
implementation(deps.compose.ui)
|
||||||
implementation(Compose.uiTooling)
|
implementation(deps.compose.ui.tooling)
|
||||||
implementation(Compose.coil)
|
implementation(deps.compose.coil)
|
||||||
|
implementation(deps.compose.shimmer)
|
||||||
|
|
||||||
/** Firebase libraries */
|
/** Firebase libraries */
|
||||||
implementation(platform(Firebase.bom))
|
implementation(platform(deps.firebase.bom))
|
||||||
implementation(Firebase.firebaseAnalytics)
|
implementation(deps.firebase.analytics)
|
||||||
implementation(Firebase.firebaseCrashlytics)
|
implementation(deps.firebase.crashlytics)
|
||||||
|
|
||||||
/** Tangem libraries */
|
/** Tangem libraries */
|
||||||
implementation(Tangem.blockchain) {
|
implementation(deps.tangem.blockchain) {
|
||||||
exclude(module = "joda-time")
|
exclude(module = "joda-time")
|
||||||
}
|
}
|
||||||
implementation(Tangem.cardCore)
|
implementation(deps.tangem.card.core)
|
||||||
implementation(Tangem.cardAndroid) {
|
implementation(deps.tangem.card.android) {
|
||||||
exclude(module = "joda-time")
|
exclude(module = "joda-time")
|
||||||
}
|
}
|
||||||
|
|
||||||
/** DI */
|
/** DI */
|
||||||
implementation(Library.hilt)
|
implementation(deps.hilt.android)
|
||||||
kapt(Library.hiltKapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
|
||||||
/** Other libraries */
|
/** Other libraries */
|
||||||
implementation(Library.materialComponent)
|
implementation(deps.material)
|
||||||
implementation(Library.googlePlayCore)
|
implementation(deps.googlePlay.core)
|
||||||
implementation(Library.googlePlayCoreKtx)
|
implementation(deps.googlePlay.core.ktx)
|
||||||
coreLibraryDesugaring(Library.desugarJdkLibs)
|
implementation(deps.googlePlay.services.wallet)
|
||||||
implementation(Library.timber)
|
coreLibraryDesugaring(deps.desugar)
|
||||||
implementation(Library.reKotlin)
|
implementation(deps.timber)
|
||||||
implementation(Library.zxingQrCore)
|
implementation(deps.reKotlin)
|
||||||
implementation(Library.zxingQrBarcodeScanner)
|
implementation(deps.zxing.qrCore)
|
||||||
implementation(Library.otaliastudiosCameraView)
|
implementation(deps.zxing.qrBarcodeScanner)
|
||||||
implementation(Library.coil)
|
implementation(deps.otaliastudiosCameraView)
|
||||||
implementation(Library.appsflyer)
|
implementation(deps.coil)
|
||||||
implementation(Library.amplitude)
|
implementation(deps.appsflyer)
|
||||||
implementation(Library.kotsonGsonExt)
|
implementation(deps.amplitude)
|
||||||
|
implementation(deps.kotsonGson)
|
||||||
//TODO: refactoring: remove it when all network services moved to the datasource module
|
//TODO: refactoring: remove it when all network services moved to the datasource module
|
||||||
implementation(Library.retrofit)
|
implementation(deps.retrofit)
|
||||||
implementation(Library.retrofitMoshiConverter)
|
implementation(deps.retrofit.moshi)
|
||||||
implementation(Library.moshi)
|
implementation(deps.moshi)
|
||||||
implementation(Library.moshiKotlin)
|
implementation(deps.moshi.kotlin)
|
||||||
implementation(Library.okHttp)
|
implementation(deps.okHttp)
|
||||||
implementation(Library.okHttpLogging)
|
implementation(deps.okHttp.logging)
|
||||||
implementation(Library.zendeskChat)
|
implementation(deps.zendesk.chat)
|
||||||
implementation(Library.zendeskMessaging)
|
implementation(deps.zendesk.messaging)
|
||||||
implementation(Library.spongecastleCryptoCore)
|
implementation(deps.spongecastle.core)
|
||||||
implementation(Library.lottie)
|
implementation(deps.lottie)
|
||||||
implementation(Library.shopifyBuySdk) {
|
implementation(deps.shopify.buy) {
|
||||||
exclude(group = "com.shopify.graphql.support")
|
exclude(group = "com.shopify.graphql.support")
|
||||||
exclude(module = "joda-time")
|
exclude(module = "joda-time")
|
||||||
}
|
}
|
||||||
implementation(Library.accompanistAppCompatTheme)
|
implementation(deps.compose.accompanist.appCompatTheme)
|
||||||
implementation(Library.accompanistSystemUiController)
|
implementation(deps.compose.accompanist.systemUiController)
|
||||||
implementation(Library.accompanistWebView)
|
implementation(deps.compose.accompanist.webView)
|
||||||
implementation(Library.xmlShimmer)
|
implementation(deps.xmlShimmer)
|
||||||
implementation(Library.viewBindingDelegate)
|
implementation(deps.viewBindingDelegate)
|
||||||
implementation(Library.armadillo)
|
implementation(deps.armadillo)
|
||||||
implementation(Library.googlePlayServicesWallet)
|
implementation(deps.mviCore.watcher)
|
||||||
implementation(Library.composeShimmer)
|
implementation(deps.kotlin.serialization)
|
||||||
implementation(Library.mviCoreWatcher)
|
|
||||||
implementation(Library.kotlinSerialization)
|
|
||||||
|
|
||||||
/** Testing libraries */
|
/** Testing libraries */
|
||||||
testImplementation(Test.junit)
|
testImplementation(deps.test.junit)
|
||||||
testImplementation(Test.truth)
|
testImplementation(deps.test.truth)
|
||||||
androidTestImplementation(Test.junitAndroidExt)
|
androidTestImplementation(deps.test.junit.android)
|
||||||
androidTestImplementation(Test.espresso)
|
androidTestImplementation(deps.test.espresso)
|
||||||
}
|
}
|
||||||
|
|
@ -1,37 +1,13 @@
|
||||||
buildscript {
|
|
||||||
repositories {
|
|
||||||
google()
|
|
||||||
mavenCentral()
|
|
||||||
maven(url = "https://maven.fabric.io/public")
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
classpath(ClasspathDependency.AndroidGradlePlugin)
|
|
||||||
classpath(ClasspathDependency.KotlinGradlePlugin)
|
|
||||||
classpath(ClasspathDependency.AndroidMavenGradlePlugin)
|
|
||||||
classpath(ClasspathDependency.GoogleServices)
|
|
||||||
classpath(ClasspathDependency.GoogleFirebaseCrashlytics)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("com.google.dagger.hilt.android") version "2.44" apply false
|
alias(deps.plugins.kotlin.android) apply false
|
||||||
kotlin("plugin.serialization") version Versions.kotlin apply false
|
alias(deps.plugins.kotlin.jvm) apply false
|
||||||
}
|
alias(deps.plugins.kotlin.serialization) apply false
|
||||||
|
alias(deps.plugins.kotlin.kapt) apply false
|
||||||
allprojects {
|
alias(deps.plugins.android.application) apply false
|
||||||
repositories {
|
alias(deps.plugins.android.library) apply false
|
||||||
google()
|
alias(deps.plugins.hilt.android) apply false
|
||||||
jcenter() // unable to replace with mavenCentral() due to rekotlin and com.otaliastudios:cameraview
|
alias(deps.plugins.google.services) apply false
|
||||||
mavenLocal()
|
alias(deps.plugins.firebase.crashlytics) apply false
|
||||||
maven("https://nexus.tangem-tech.com/repository/maven-releases/")
|
|
||||||
maven("https://jitpack.io")
|
|
||||||
maven("https://zendesk.jfrog.io/zendesk/repo")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
subprojects {
|
|
||||||
apply(plugin = "detekt-convention")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register("clean", Delete::class) {
|
tasks.register("clean", Delete::class) {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm")
|
alias(deps.plugins.kotlin.jvm)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
alias(deps.plugins.android.library)
|
||||||
kotlin("android")
|
alias(deps.plugins.kotlin.android)
|
||||||
kotlin("kapt")
|
alias(deps.plugins.kotlin.kapt)
|
||||||
id("com.google.dagger.hilt.android")
|
alias(deps.plugins.hilt.android)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
/** DI */
|
/** DI */
|
||||||
implementation(Library.hilt)
|
implementation(deps.hilt.android)
|
||||||
kapt(Library.hiltKapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
|
||||||
/** Core shouldn't depends on core, but in case with utils and logging its necessary */
|
/** Core shouldn't depends on core, but in case with utils and logging its necessary */
|
||||||
implementation(project(":core:utils"))
|
implementation(project(":core:utils"))
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
alias(deps.plugins.android.library)
|
||||||
kotlin("android")
|
alias(deps.plugins.kotlin.android)
|
||||||
kotlin("kapt")
|
alias(deps.plugins.kotlin.kapt)
|
||||||
id("com.google.dagger.hilt.android")
|
alias(deps.plugins.hilt.android)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -13,31 +13,31 @@ dependencies {
|
||||||
implementation(project(":libs:auth"))
|
implementation(project(":libs:auth"))
|
||||||
|
|
||||||
/** Tangem libraries */
|
/** Tangem libraries */
|
||||||
implementation(Tangem.blockchain)
|
implementation(deps.tangem.blockchain)
|
||||||
implementation(Tangem.cardCore)
|
implementation(deps.tangem.card.core)
|
||||||
|
|
||||||
/** DI */
|
/** DI */
|
||||||
implementation(Library.hilt)
|
implementation(deps.hilt.android)
|
||||||
kapt(Library.hiltKapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
|
||||||
/** Coroutines */
|
/** Coroutines */
|
||||||
implementation(Library.coroutine)
|
implementation(deps.kotlin.coroutines)
|
||||||
|
|
||||||
/** Logging */
|
/** Logging */
|
||||||
implementation(Library.timber)
|
implementation(deps.timber)
|
||||||
|
|
||||||
/** Network */
|
/** Network */
|
||||||
implementation(Library.krateSharedPref)
|
implementation(deps.krateSharedPref)
|
||||||
implementation(Library.moshi)
|
implementation(deps.moshi)
|
||||||
implementation(Library.moshiKotlin)
|
implementation(deps.moshi.kotlin)
|
||||||
implementation(Library.okHttp)
|
implementation(deps.okHttp)
|
||||||
implementation(Library.okHttpLogging)
|
implementation(deps.okHttp.logging)
|
||||||
implementation(Library.retrofit)
|
implementation(deps.retrofit)
|
||||||
implementation(Library.retrofitMoshiConverter)
|
implementation(deps.retrofit.moshi)
|
||||||
|
|
||||||
/** Time */
|
/** Time */
|
||||||
implementation(Library.jodatime)
|
implementation(deps.jodatime)
|
||||||
|
|
||||||
/** Security */
|
/** Security */
|
||||||
implementation(Library.spongecastleCryptoCore)
|
implementation(deps.spongecastle.core)
|
||||||
}
|
}
|
||||||
|
|
@ -1,17 +1,17 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
alias(deps.plugins.android.library)
|
||||||
kotlin("android")
|
alias(deps.plugins.kotlin.android)
|
||||||
kotlin("kapt")
|
alias(deps.plugins.kotlin.kapt)
|
||||||
id("com.google.dagger.hilt.android")
|
alias(deps.plugins.hilt.android)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(Library.moshi)
|
implementation(deps.moshi)
|
||||||
implementation(Library.moshiKotlin)
|
implementation(deps.moshi.kotlin)
|
||||||
implementation(Library.hilt)
|
implementation(deps.hilt.android)
|
||||||
kapt(Library.hiltKapt)
|
kapt(deps.hilt.kapt)
|
||||||
implementation(Library.timber)
|
implementation(deps.timber)
|
||||||
|
|
||||||
implementation(project(":core:datasource"))
|
implementation(project(":core:datasource"))
|
||||||
}
|
}
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
alias(deps.plugins.android.library)
|
||||||
kotlin("android")
|
alias(deps.plugins.kotlin.android)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
@ -1,22 +1,22 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
alias(deps.plugins.android.library)
|
||||||
kotlin("android")
|
alias(deps.plugins.kotlin.android)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
/** AndroidX libraries */
|
/** AndroidX libraries */
|
||||||
implementation(AndroidX.fragmentKtx)
|
implementation(deps.androidx.fragment.ktx)
|
||||||
|
|
||||||
/** Compose */
|
/** Compose */
|
||||||
implementation(Compose.foundation)
|
implementation(deps.compose.foundation)
|
||||||
implementation(Compose.material)
|
implementation(deps.compose.material)
|
||||||
implementation(Compose.uiTooling)
|
implementation(deps.compose.ui.tooling)
|
||||||
|
|
||||||
/** Other libraries */
|
/** Other libraries */
|
||||||
implementation(Library.accompanistSystemUiController)
|
implementation(deps.compose.accompanist.systemUiController)
|
||||||
implementation(Library.materialComponent)
|
implementation(deps.material)
|
||||||
implementation(Library.composeShimmer)
|
implementation(deps.compose.shimmer)
|
||||||
|
|
||||||
implementation(project(":core:res"))
|
implementation(project(":core:res"))
|
||||||
}
|
}
|
||||||
|
|
@ -1,15 +1,15 @@
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm")
|
alias(deps.plugins.kotlin.jvm)
|
||||||
kotlin("kapt")
|
alias(deps.plugins.kotlin.kapt)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
/** DI */
|
/** DI */
|
||||||
implementation(Library.hiltCore)
|
implementation(deps.hilt.core)
|
||||||
kapt(Library.hiltKapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
|
||||||
/** Coroutines */
|
/** Coroutines */
|
||||||
implementation(Library.coroutine)
|
implementation(deps.kotlin.coroutines)
|
||||||
}
|
}
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
alias(deps.plugins.android.library)
|
||||||
id("org.jetbrains.kotlin.android")
|
alias(deps.plugins.kotlin.android)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -11,28 +11,28 @@ dependencies {
|
||||||
implementation(project(":libs:auth"))
|
implementation(project(":libs:auth"))
|
||||||
|
|
||||||
/** Tangem libraries */
|
/** Tangem libraries */
|
||||||
implementation(Tangem.blockchain) {
|
implementation(deps.tangem.blockchain) {
|
||||||
exclude(module = "joda-time")
|
exclude(module = "joda-time")
|
||||||
}
|
}
|
||||||
implementation(Tangem.cardCore)
|
implementation(deps.tangem.card.core)
|
||||||
implementation(Tangem.cardAndroid) {
|
implementation(deps.tangem.card.android) {
|
||||||
exclude(module = "joda-time")
|
exclude(module = "joda-time")
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Other libraries */
|
/** Other libraries */
|
||||||
implementation(Library.reKotlin)
|
implementation(deps.reKotlin)
|
||||||
//TODO: refactoring: remove it when all network services moved to the datasource module
|
//TODO: refactoring: remove it when all network services moved to the datasource module
|
||||||
implementation(Library.retrofit)
|
implementation(deps.retrofit)
|
||||||
implementation(Library.retrofitMoshiConverter)
|
implementation(deps.retrofit.moshi)
|
||||||
implementation(Library.moshi)
|
implementation(deps.moshi)
|
||||||
implementation(Library.moshiKotlin)
|
implementation(deps.moshi.kotlin)
|
||||||
implementation(Library.okHttpLogging)
|
implementation(deps.okHttp.logging)
|
||||||
implementation(Library.timber)
|
implementation(deps.timber)
|
||||||
implementation(Library.coroutine)
|
implementation(deps.kotlin.coroutines)
|
||||||
|
|
||||||
/** Testing libraries */
|
/** Testing libraries */
|
||||||
testImplementation(Test.junit)
|
testImplementation(deps.test.junit)
|
||||||
testImplementation(Test.truth)
|
testImplementation(deps.test.truth)
|
||||||
androidTestImplementation(Test.junitAndroidExt)
|
androidTestImplementation(deps.test.junit.android)
|
||||||
androidTestImplementation(Test.espresso)
|
androidTestImplementation(deps.test.espresso)
|
||||||
}
|
}
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
alias(deps.plugins.android.library)
|
||||||
kotlin("android")
|
alias(deps.plugins.kotlin.android)
|
||||||
kotlin("kapt")
|
alias(deps.plugins.kotlin.kapt)
|
||||||
id("com.google.dagger.hilt.android")
|
alias(deps.plugins.hilt.android)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -14,9 +14,9 @@ dependencies {
|
||||||
implementation(project(":features:referral:domain"))
|
implementation(project(":features:referral:domain"))
|
||||||
|
|
||||||
/** Time */
|
/** Time */
|
||||||
implementation(Library.jodatime)
|
implementation(deps.jodatime)
|
||||||
|
|
||||||
/** DI */
|
/** DI */
|
||||||
implementation(Library.hilt)
|
implementation(deps.hilt.android)
|
||||||
kapt(Library.hiltKapt)
|
kapt(deps.hilt.kapt)
|
||||||
}
|
}
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm")
|
alias(deps.plugins.kotlin.jvm)
|
||||||
kotlin("kapt")
|
alias(deps.plugins.kotlin.kapt)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -11,9 +11,9 @@ dependencies {
|
||||||
implementation(project(":libs:crypto"))
|
implementation(project(":libs:crypto"))
|
||||||
|
|
||||||
/** Time */
|
/** Time */
|
||||||
implementation(Library.jodatime)
|
implementation(deps.jodatime)
|
||||||
|
|
||||||
/** DI */
|
/** DI */
|
||||||
implementation(Library.hiltCore)
|
implementation(deps.hilt.core)
|
||||||
kapt(Library.hiltKapt)
|
kapt(deps.hilt.kapt)
|
||||||
}
|
}
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
alias(deps.plugins.android.library)
|
||||||
kotlin("android")
|
alias(deps.plugins.kotlin.android)
|
||||||
kotlin("kapt")
|
alias(deps.plugins.kotlin.kapt)
|
||||||
id("com.google.dagger.hilt.android")
|
alias(deps.plugins.hilt.android)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -14,24 +14,24 @@ dependencies {
|
||||||
implementation(project(":core:ui"))
|
implementation(project(":core:ui"))
|
||||||
|
|
||||||
/** AndroidX */
|
/** AndroidX */
|
||||||
implementation(AndroidX.appCompat)
|
implementation(deps.androidx.appCompat)
|
||||||
implementation(AndroidX.fragmentKtx)
|
implementation(deps.androidx.fragment.ktx)
|
||||||
implementation(AndroidX.lifecycleViewModelKtx)
|
implementation(deps.lifecycle.viewModel.ktx)
|
||||||
implementation(Library.materialComponent)
|
implementation(deps.material)
|
||||||
|
|
||||||
/** Compose */
|
/** Compose */
|
||||||
implementation(Compose.foundation)
|
implementation(deps.compose.foundation)
|
||||||
implementation(Compose.material)
|
implementation(deps.compose.material)
|
||||||
implementation(Compose.uiTooling)
|
implementation(deps.compose.ui.tooling)
|
||||||
|
|
||||||
/** Domain */
|
/** Domain */
|
||||||
implementation(project(":features:referral:domain"))
|
implementation(project(":features:referral:domain"))
|
||||||
|
|
||||||
/** Other libraries */
|
/** Other libraries */
|
||||||
implementation(Library.composeShimmer)
|
implementation(deps.compose.shimmer)
|
||||||
implementation(Library.accompanistWebView)
|
implementation(deps.compose.accompanist.webView)
|
||||||
|
|
||||||
/** DI */
|
/** DI */
|
||||||
implementation(Library.hilt)
|
implementation(deps.hilt.android)
|
||||||
kapt(Library.hiltKapt)
|
kapt(deps.hilt.kapt)
|
||||||
}
|
}
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
alias(deps.plugins.android.library)
|
||||||
kotlin("android")
|
alias(deps.plugins.kotlin.android)
|
||||||
kotlin("kapt")
|
alias(deps.plugins.kotlin.kapt)
|
||||||
id("com.google.dagger.hilt.android")
|
alias(deps.plugins.hilt.android)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -14,9 +14,9 @@ dependencies {
|
||||||
implementation(project(":features:swap:domain"))
|
implementation(project(":features:swap:domain"))
|
||||||
|
|
||||||
/** Network */
|
/** Network */
|
||||||
implementation(Library.retrofit)
|
implementation(deps.retrofit)
|
||||||
|
|
||||||
/** DI */
|
/** DI */
|
||||||
implementation(Library.hilt)
|
implementation(deps.hilt.android)
|
||||||
kapt(Library.hiltKapt)
|
kapt(deps.hilt.kapt)
|
||||||
}
|
}
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm")
|
alias(deps.plugins.kotlin.jvm)
|
||||||
kotlin("kapt")
|
alias(deps.plugins.kotlin.kapt)
|
||||||
kotlin("plugin.serialization")
|
alias(deps.plugins.kotlin.serialization)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -11,9 +11,9 @@ dependencies {
|
||||||
implementation(project(":core:utils"))
|
implementation(project(":core:utils"))
|
||||||
|
|
||||||
/** DI */
|
/** DI */
|
||||||
implementation(Library.hiltCore)
|
implementation(deps.hilt.core)
|
||||||
kapt(Library.hiltKapt)
|
kapt(deps.hilt.kapt)
|
||||||
|
|
||||||
/** Other Libraries **/
|
/** Other Libraries **/
|
||||||
implementation(Library.kotlinSerialization)
|
implementation(deps.kotlin.serialization)
|
||||||
}
|
}
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
alias(deps.plugins.android.library)
|
||||||
kotlin("android")
|
alias(deps.plugins.kotlin.android)
|
||||||
kotlin("kapt")
|
alias(deps.plugins.kotlin.kapt)
|
||||||
kotlin("plugin.serialization")
|
alias(deps.plugins.kotlin.serialization)
|
||||||
id("com.google.dagger.hilt.android")
|
alias(deps.plugins.hilt.android)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -14,28 +14,28 @@ dependencies {
|
||||||
implementation(project(":core:ui"))
|
implementation(project(":core:ui"))
|
||||||
|
|
||||||
/** AndroidX */
|
/** AndroidX */
|
||||||
implementation(AndroidX.activityCompose)
|
implementation(deps.androidx.activity.compose)
|
||||||
implementation(AndroidX.appCompat)
|
implementation(deps.androidx.appCompat)
|
||||||
implementation(AndroidX.fragmentKtx)
|
implementation(deps.androidx.fragment.ktx)
|
||||||
implementation(AndroidX.lifecycleViewModelKtx)
|
implementation(deps.lifecycle.viewModel.ktx)
|
||||||
implementation(AndroidX.browser)
|
implementation(deps.androidx.browser)
|
||||||
|
|
||||||
/** Compose */
|
/** Compose */
|
||||||
implementation(Compose.foundation)
|
implementation(deps.compose.foundation)
|
||||||
implementation(Compose.material)
|
implementation(deps.compose.material)
|
||||||
implementation(Compose.uiTooling)
|
implementation(deps.compose.ui.tooling)
|
||||||
implementation(Compose.coil)
|
implementation(deps.compose.coil)
|
||||||
implementation(Compose.constraintLayout)
|
implementation(deps.compose.constraintLayout)
|
||||||
|
|
||||||
/** Domain */
|
/** Domain */
|
||||||
implementation(project(":features:swap:domain"))
|
implementation(project(":features:swap:domain"))
|
||||||
|
|
||||||
/** Other libraries */
|
/** Other libraries */
|
||||||
implementation(Library.composeShimmer)
|
implementation(deps.compose.shimmer)
|
||||||
implementation(Library.kotlinSerialization)
|
implementation(deps.kotlin.serialization)
|
||||||
implementation(Library.timber)
|
implementation(deps.timber)
|
||||||
|
|
||||||
/** DI */
|
/** DI */
|
||||||
implementation(Library.hilt)
|
implementation(deps.hilt.android)
|
||||||
kapt(Library.hiltKapt)
|
kapt(deps.hilt.kapt)
|
||||||
}
|
}
|
||||||
|
|
@ -1,36 +1,5 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
alias(deps.plugins.android.library)
|
||||||
kotlin("android")
|
alias(deps.plugins.kotlin.android)
|
||||||
}
|
id("configuration")
|
||||||
|
|
||||||
android {
|
|
||||||
|
|
||||||
defaultConfig {
|
|
||||||
compileSdk = AppConfig.compileSdkVersion
|
|
||||||
minSdk = AppConfig.minSdkVersion
|
|
||||||
targetSdk = AppConfig.targetSdkVersion
|
|
||||||
}
|
|
||||||
|
|
||||||
kotlinOptions {
|
|
||||||
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
|
||||||
}
|
|
||||||
|
|
||||||
compileOptions {
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
||||||
targetCompatibility = JavaVersion.VERSION_1_8
|
|
||||||
}
|
|
||||||
|
|
||||||
buildTypes {
|
|
||||||
create("debug_beta") {
|
|
||||||
initWith(getByName("release"))
|
|
||||||
BuildConfigFieldFactory(
|
|
||||||
fields = listOf(
|
|
||||||
Field.Environment("release"),
|
|
||||||
Field.TestActionEnabled(true),
|
|
||||||
Field.LogEnabled(true),
|
|
||||||
),
|
|
||||||
builder = ::buildConfigField,
|
|
||||||
).create()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,27 +1,27 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
alias(deps.plugins.android.library)
|
||||||
kotlin("android")
|
alias(deps.plugins.kotlin.android)
|
||||||
kotlin("kapt")
|
alias(deps.plugins.kotlin.kapt)
|
||||||
id("com.google.dagger.hilt.android")
|
alias(deps.plugins.hilt.android)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
/** AndroidX */
|
/** AndroidX */
|
||||||
implementation(AndroidX.activityCompose)
|
implementation(deps.androidx.activity.compose)
|
||||||
|
|
||||||
/** Compose */
|
/** Compose */
|
||||||
implementation(Compose.foundation)
|
implementation(deps.compose.material)
|
||||||
implementation(Compose.hiltNavigation)
|
implementation(deps.compose.foundation)
|
||||||
implementation(Compose.material)
|
implementation(deps.compose.navigation)
|
||||||
implementation(Compose.navigation)
|
implementation(deps.compose.navigation.hilt)
|
||||||
implementation(Compose.ui)
|
implementation(deps.compose.ui)
|
||||||
implementation(Compose.uiTooling)
|
implementation(deps.compose.ui.tooling)
|
||||||
|
implementation(deps.compose.accompanist.systemUiController)
|
||||||
|
|
||||||
/** DI */
|
/** DI */
|
||||||
implementation(Library.accompanistSystemUiController)
|
implementation(deps.hilt.android)
|
||||||
implementation(Library.hilt)
|
kapt(deps.hilt.kapt)
|
||||||
kapt(Library.hiltKapt)
|
|
||||||
|
|
||||||
/** Core modules */
|
/** Core modules */
|
||||||
implementation(project(":core:featuretoggles"))
|
implementation(project(":core:featuretoggles"))
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
alias(deps.plugins.android.library)
|
||||||
kotlin("android")
|
alias(deps.plugins.kotlin.android)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm")
|
alias(deps.plugins.kotlin.jvm)
|
||||||
id("configuration")
|
id("configuration")
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
/** Coroutines */
|
/** Coroutines */
|
||||||
implementation(Library.coroutine)
|
implementation(deps.kotlin.coroutines)
|
||||||
}
|
}
|
||||||
|
|
@ -1,9 +1,36 @@
|
||||||
|
pluginManagement {
|
||||||
|
repositories {
|
||||||
|
gradlePluginPortal()
|
||||||
|
google()
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
|
||||||
|
includeBuild("plugins/configuration")
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencyResolutionManagement {
|
||||||
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
google()
|
||||||
|
mavenCentral()
|
||||||
|
jcenter() // unable to replace with mavenCentral() due to rekotlin and com.otaliastudios:cameraview
|
||||||
|
maven("https://nexus.tangem-tech.com/repository/maven-releases/")
|
||||||
|
maven("https://jitpack.io")
|
||||||
|
maven("https://zendesk.jfrog.io/zendesk/repo")
|
||||||
|
}
|
||||||
|
|
||||||
|
versionCatalogs {
|
||||||
|
create("deps") {
|
||||||
|
from(files("gradle/dependencies.toml"))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
include(":app")
|
include(":app")
|
||||||
include(":domain")
|
include(":domain")
|
||||||
include(":common")
|
include(":common")
|
||||||
|
|
||||||
includeBuild("includedBuild/configuration")
|
|
||||||
|
|
||||||
// region Core modules
|
// region Core modules
|
||||||
include(":core:analytics")
|
include(":core:analytics")
|
||||||
include(":core:datasource")
|
include(":core:datasource")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue