mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-07-22 18:25:50 +00:00
a8ba753bde
wallet-util's master lacks the Tron/Bitcoin chain config (reset to the last Play-Store-compatible state, see wallet-util history around 2026-07-11) - this mirrors the exact override feature/trc20-tron-send used, so a real device build can see the Bitcoin chain entry. MUST be reverted to master before this branch merges.
73 lines
3.5 KiB
Groovy
73 lines
3.5 KiB
Groovy
apply from: '../scripts/secrets.gradle'
|
|
apply plugin: 'kotlin-parcelize'
|
|
|
|
android {
|
|
|
|
defaultConfig {
|
|
|
|
// TEMPORARY - points at pending/post-fix-release, NOT master. wallet-util's master was reset to the
|
|
// last content the still-live Play Store release can parse (see wallet-util repo history around
|
|
// 2026-07-11), so master has neither Tron nor Bitcoin config/icons this branch needs to test against.
|
|
// pending/post-fix-release is where both are staged until wallet-android ships the coordinated release.
|
|
// MUST be pointed back at "master" before this branch merges - do not ship this override.
|
|
|
|
buildConfigField "String", "CHAINS_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/pending/post-fix-release/chains/v22/android/chains.json\""
|
|
buildConfigField "String", "EVM_ASSETS_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/pending/post-fix-release/assets/evm/v3/assets.json\""
|
|
buildConfigField "String", "PRE_CONFIGURED_CHAINS_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/pending/post-fix-release/chains/v22/preConfigured/chains.json\""
|
|
buildConfigField "String", "PRE_CONFIGURED_CHAIN_DETAILS_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/pending/post-fix-release/chains/v22/preConfigured/details\""
|
|
|
|
buildConfigField "String", "TEST_CHAINS_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/master/tests/chains_for_testBalance.json\""
|
|
|
|
buildConfigField "String", "INFURA_API_KEY", readStringSecret("INFURA_API_KEY")
|
|
buildConfigField "String", "DWELLIR_API_KEY", readStringSecret("DWELLIR_API_KEY")
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
|
|
}
|
|
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
buildConfigField "String", "CHAINS_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/pending/post-fix-release/chains/v22/android/chains.json\""
|
|
buildConfigField "String", "EVM_ASSETS_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/pending/post-fix-release/assets/evm/v3/assets.json\""
|
|
buildConfigField "String", "PRE_CONFIGURED_CHAINS_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/pending/post-fix-release/chains/v22/preConfigured/chains.json\""
|
|
buildConfigField "String", "PRE_CONFIGURED_CHAIN_DETAILS_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/pending/post-fix-release/chains/v22/preConfigured/details\""
|
|
}
|
|
}
|
|
namespace 'io.novafoundation.nova.runtime'
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation project(":common")
|
|
implementation project(":core-db")
|
|
|
|
implementation project(":core-api")
|
|
|
|
implementation project(":bindings:metadata_shortener")
|
|
implementation project(":bindings:sr25519-bizinikiwi")
|
|
|
|
implementation gsonDep
|
|
implementation substrateSdkDep
|
|
|
|
implementation kotlinDep
|
|
|
|
implementation coroutinesDep
|
|
|
|
implementation retrofitDep
|
|
|
|
implementation daggerDep
|
|
ksp daggerCompiler
|
|
|
|
testImplementation project(':test-shared')
|
|
|
|
implementation lifeCycleKtxDep
|
|
|
|
androidTestImplementation androidTestRunnerDep
|
|
androidTestImplementation androidTestRulesDep
|
|
androidTestImplementation androidJunitDep
|
|
} |