From b7cd4e300ebf5bf624e0498e20d1457524a0977c Mon Sep 17 00:00:00 2001 From: Tangem Date: Fri, 12 Jun 2026 13:04:08 +0400 Subject: [PATCH] Updated on 2026-08-14 --- settings.gradle.kts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/settings.gradle.kts b/settings.gradle.kts index 9444a8388c..b61afb33b1 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -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")