mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-04-25 18:37:58 +00:00
Initial commit: Pezkuwi Wallet Android
Complete rebrand of Nova Wallet for Pezkuwichain ecosystem. ## Features - Full Pezkuwichain support (HEZ & PEZ tokens) - Polkadot ecosystem compatibility - Staking, Governance, DeFi, NFTs - XCM cross-chain transfers - Hardware wallet support (Ledger, Polkadot Vault) - WalletConnect v2 - Push notifications ## Languages - English, Turkish, Kurmanci (Kurdish), Spanish, French, German, Russian, Japanese, Chinese, Korean, Portuguese, Vietnamese Based on Nova Wallet by Novasama Technologies GmbH © Dijital Kurdistan Tech Institute 2026
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
Properties localProperties = new Properties()
|
||||
|
||||
def localPropertiesFile = project.rootProject.file('local.properties')
|
||||
|
||||
if (localPropertiesFile.exists()) {
|
||||
localProperties.load(localPropertiesFile.newDataInputStream())
|
||||
}
|
||||
|
||||
ext.readRawSecretOrNull = { secretName ->
|
||||
def localPropSecret = localProperties.getProperty(secretName)
|
||||
|
||||
def secret = (localPropSecret != null) ? localPropSecret : System.getenv(secretName)
|
||||
|
||||
if (secret == null || secret.isEmpty()) return null
|
||||
|
||||
return secret
|
||||
}
|
||||
|
||||
ext.readStringSecretOrNull = { secretName ->
|
||||
def secret = readRawSecretOrNull(secretName)
|
||||
if (secret == null) return null
|
||||
|
||||
return maybeWrapInQuotes(secret)
|
||||
}
|
||||
|
||||
ext.readStringSecret = { secretName ->
|
||||
return readStringSecretOrNull(secretName) ?: secretNotFound(secretName)
|
||||
}
|
||||
|
||||
private static def secretNotFound(secretName) {
|
||||
throw new NoSuchElementException("${secretName} secret is not found in local.properties or environment variables")
|
||||
}
|
||||
|
||||
static def maybeWrapInQuotes(content) {
|
||||
return content.startsWith("\"") ? content : "\"" + content + "\""
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
def computeVersionName() {
|
||||
return "$rootProject.versionName"
|
||||
}
|
||||
|
||||
def computeVersionCode() {
|
||||
return Integer.valueOf(System.env.CI_BUILD_ID ?: rootProject.versionCode)
|
||||
}
|
||||
|
||||
def static releaseNotes() {
|
||||
return System.getenv('CI_FIREBASE_RELEASENOTES') ?: ''
|
||||
}
|
||||
|
||||
def static firebaseGroup() {
|
||||
return System.getenv('CI_FIREBASE_GROUP') ?: ''
|
||||
}
|
||||
|
||||
|
||||
ext {
|
||||
computeVersionName = this.&computeVersionName
|
||||
computeVersionCode = this.&computeVersionCode
|
||||
releaseNotes = this.&releaseNotes
|
||||
firebaseGroup = this.&firebaseGroup
|
||||
}
|
||||
Reference in New Issue
Block a user