Updated on 2026-08-14

This commit is contained in:
Tangem 2024-04-23 14:14:51 +05:00
parent c21421f5d5
commit df066bbbfd
3 changed files with 45 additions and 9 deletions

View file

@ -24,11 +24,41 @@ dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
google {
content {
includeGroupAndSubgroups("androidx")
includeGroupAndSubgroups("com.android")
includeGroupAndSubgroups("com.google")
}
}
mavenCentral()
mavenLocal()
jcenter() // unable to replace with mavenCentral() due to rekotlin
maven("https://nexus.tangem-tech.com/repository/maven-releases/")
mavenLocal {
content {
includeGroupAndSubgroups("com.tangem.tangem-sdk-kotlin")
includeModule("com.tangem", "blstlib")
includeModule("com.tangem", "blockchain")
includeModule("com.tangem", "wallet-core-proto")
includeModule("com.tangem", "wallet-core")
}
}
maven {
// setting any repository from tangem project allows maven search all packages in the project
url = uri("https://maven.pkg.github.com/tangem/tangem-sdk-android")
credentials {
username = properties.getProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR")
password = properties.getProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
}
content { includeGroupAndSubgroups("com.tangem.tangem-sdk-kotlin") }
}
maven {
// setting any repository from tangem project allows maven search all packages in the project
url = uri("https://maven.pkg.github.com/tangem/blst-android")
credentials {
username = properties.getProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR")
password = properties.getProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
}
content { includeModule("com.tangem", "blstlib") }
}
maven {
// setting any repository from tangem project allows maven search all packages in the project
url = uri("https://maven.pkg.github.com/tangem/blockchain-sdk-kotlin")
@ -36,6 +66,7 @@ dependencyResolutionManagement {
username = properties.getProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR")
password = properties.getProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
}
content { includeModule("com.tangem", "blockchain") }
}
maven {
// setting any repository from tangem project allows maven search all packages in the project
@ -44,6 +75,15 @@ dependencyResolutionManagement {
username = properties.getProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR")
password = properties.getProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
}
content {
includeModule("com.tangem", "wallet-core-proto")
includeModule("com.tangem", "wallet-core")
}
}
jcenter { // unable to replace with mavenCentral() due to rekotlin
content {
includeModule("org.rekotlin", "rekotlin")
}
}
maven("https://jitpack.io")
maven("https://clients-nexus.sprinklr.com/")