Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-12 13:04:08 +04:00
parent c540257c66
commit b7cd4e300e

View file

@ -144,6 +144,24 @@ dependencyResolutionManagement {
}
// Optional local composite build for the Blockchain SDK.
// Enable it from local.properties (which is git-ignored, so it never reaches CI/develop):
//
// blockchainSdk.local=true
// blockchainSdk.path=../blockchain-sdk-kotlin # optional, this is the default
//
// When enabled, com.tangem:blockchain is resolved from local sources instead of the
// published Maven artifact (tangemBlockchainSdk in gradle/tangem_dependencies.toml).
if (properties.getProperty("blockchainSdk.local").toBoolean()) {
val blockchainSdkPath = properties.getProperty("blockchainSdk.path") ?: "../blockchain-sdk-kotlin"
println("Blockchain SDK: using local composite build from '$blockchainSdkPath'")
includeBuild(blockchainSdkPath) {
dependencySubstitution {
substitute(module("com.tangem:blockchain")).using(project(":blockchain"))
}
}
}
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
include(":app")